Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to keep website logo proportional to browser window size?

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #45757
    dupuismartin
    Member

    I need some help coding my site to keep the logo image in proportion to the browser window size. The logo is 330px x 200px which is the perfect size for a larger screen. However, as the browser window is shrunk the logo does not shrink accordingly and the menu bar disappears behind it.
    http://www.martindupuisphotography.com

    Here is the logo coding that came with the theme.
    /* ******************************
    4.1 Logo
    ******************************* */

    .logo {
    position:absolute;
    float:left;
    top:0;
    z-index:2;
    }
    .logo {
    width:330px;
    height: auto;
    }

    Anyone have any ideas on how to resolve this?

    Thanks

    #139887
    chrisburton
    Participant

    Is that a real logo?

    #139888
    dupuismartin
    Member

    the one on the site is…it’s my logo

    #139889
    Paulie_D
    Member

    No right clicking…sigh!

    Try googling Responsive images.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.