Skip navigation
MBR Web Design
Currently Being Moderated

Fluid Grid Layout - IE Issue with Image Size

May 22, 2012 2:55 PM

Tags: #issue #internet #dreamweaver #images #explorer #layout #cs6 #grid #fluid

Hi,

I've been working on a new website using the CS6 Fluid Grid Layout. My site is working correctly in Chrome and Firefox but in Internet Explorer 9 and 10, and most likely all other versions, the images that resize normall in Chrome and Firefox stay at maximum size in Internet Explorer. Please could somebody take a look at my site and see where I have gone wrong in the code as I can't find the problem anywhere.

 

www.moleseyhire.com/index2.html

 

 

Kind regards,

Mitchell Ransom

 
Replies
  • Currently Being Moderated
    May 22, 2012 3:41 PM   in reply to MBR Web Design

    Before tackling layout & x-browser issues, always validate code and fix errors. 

    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.moleseyhi re.com%2Findex2.html

     

    HTML5 doesn't allow borders, table cell widths, etc.. in your HTML code.   Better to put those styles in your CSS.

     

    CSS background gradients are not supported in pre-IE10 browsers.  You'll need to add MS proprietary filters for IE.

    http://www.colorzilla.com/gradient-editor/

     

    The 4 images across (33% Off - 10% Off) don't resize for me in any browser.

     

     

    Nancy O.

    Alt-Web Design & Publishing

    Web | Graphics | Print | Media  Specialists 

    http://alt-web.com/

     
    |
    Mark as:
  • Currently Being Moderated
    May 23, 2012 1:55 AM   in reply to MBR Web Design

    Try adding to your css:

     

     

    td img {

        width: 100%;

    }

     
    |
    Mark as:
  • Currently Being Moderated
    May 23, 2012 5:52 AM   in reply to MBR Web Design

    It may be better to put those Special Offer images in four floated <divs>. then you could have two lines of two images once the browser width reduces to phone sizes.

     
    |
    Mark as:
  • Currently Being Moderated
    May 23, 2012 6:46 AM   in reply to MBR Web Design

    You could set the <divs> up like:

     

    <div id="special_1"><img src="http://www.moleseyhire.com/images/offer-1.png" alt="33% Off Shampoo"></div>

      <div id="special_2"><img src="http://www.moleseyhire.com/images/offer-2.png" alt="Multi Hire"></div>

        <div id="special_3"><img src="http://www.moleseyhire.com/images/offer-3.png" alt="Multi Buy"></div>

        <div id="special_4"><img src="http://www.moleseyhire.com/images/offer-4.png" alt="10% Off Tile Cutter Accessories"></div>

     

     

    Then add

     

    #special_1, #special_2, #special_3, #special_4 {

        width: 24%;

        float: left;

        margin-right: 1%;

    }

     

    To the following media queries:

     

    @media only screen and (min-width: 769px) and @media only screen and (min-width: 481px)

     

     

    and:

     

    #special_1, #special_2, #special_3, #special_4 {

        width: 49%;

        float: left;

        margin-right: 1%;

    }

     

    to the following media query:

     

    /* Mobile Layout: 480px and below. */

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points