Forums

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

Home Forums CSS Images don’t resize in Firefox

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

    I have a problem with Firefox making images smaller. It looks fine in Chrome but the original larger size of the image is shown in Firefox despite the rules given to it.

    You can view the problem here – see the circle navigation under the city scape.
    http://dev.uk-cpi.com/sustainable-cities

    **CSS**

    .future-nav img {width: 120px; height: 120px;}

    **HTML**

    Watson90
    Member

    The images in Chrome are 66px by 66px and the ones in FF are 120px by 120px.

    Change this;

    .future-nav img {
    width: 120px;
    height: 120px;
    }

    To this;

    .future-nav img {
    width: 66px;
    height: 66px;
    }

    And it should be fine?

    #120515
    ukcpi
    Member

    Douh! I feel so stupid, I missed that!

    Cheers!

    #120517
    Watson90
    Member

    Glad you got it working mate :)

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