html - Why doesn't this page render correctly in Internet Explorer? -
Take a look at this page:
It looks fine in Firefox, but IE will do it poorly How does it come?
Your layout is slightly interesting, instead of using empty table cells in any part of the page, you Those people can take and
body {width: 750px; Margin: 0 auto; }
And you can have HTML something like this:
& lt; Body & gt; & Lt; Table & gt; & Lt; TR & gt; & Lt; Td class = "splash_desc" & gt; ... & lt; / Td> & Lt; Td class = "splash_photo" & gt; ... & lt; / Td> & Lt; / TR & gt; ...
With this method, IE will not take any more space compared to other browsers and will fit well within 750px wide containers.
Edit:
To get the segment of the header bar horizontally 100%, you have to create the second one for the content. Therefore, instead of using the body element to set the width, use something like this:
& Lt; Td class = "splash_photo" & gt; ... & lt; / Td> & Lt; / TR & gt; ...
and in CSS:
#wrapper {width: 750px; Margin: 0 auto; }
In this way, the table above the cover can be 100% wide (just style it), and the wrapper itself is 750px wide.
Comments
Post a Comment