Forum Moderators: open

Message Too Old, No Replies

IE8 beta standards-mode

         

vlur

3:06 pm on Mar 10, 2008 (gmt 0)

10+ Year Member



I have a 100% validating html-page. This page render correctly in FF, Opera, Safari, IE7.

But in IE8b it adds padding to some parts of the code. Could someone explain me, why this padding is added; or is it IE8-s fault (still being in beta status and so)

Thank you!

[edited by: tedster at 3:46 pm (utc) on Mar. 10, 2008]
[edit reason] no personal urls, please [/edit]

encyclo

10:33 pm on Mar 11, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It's probably too early to consider bug-fixes for IE8 - the code in the beta is not settled yet. If the problem still occurs in a release-candidate or the final release, then you can address the problem, otherwise you're wasting time fixing bugs that might not exist in a final version. :)

vlur

8:38 am on Mar 12, 2008 (gmt 0)

10+ Year Member



OK, sorry, I was in a hurry and made my post without reading the posting guidelines (the URL to my example). I hope this little code can illustrate my problem.

NOTE: the <img src="tpix.gif"/> file is a 1x1 transparent pixel GIF file to resize table-cells.

NOTE2: if you remove the DOCTYPE tag - IE8'll render correctly


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Weather App 1.0</title>
<style type="text/css">

body,table,img,td,p {
border:0px;
margin:0px;
padding:0px;
}
.center_content_bg {
background:#f3f3c2;
}
.break {
background-color:#cac276;
}

</style>
</head>
<body>
<table cellpadding="0" cellspacing="0">
<tr>
<td>
</td>
</tr>
<tr>
<td colspan="5" class="center_content_bg"><img src="tpix.gif" alt="" height="10" width="161" /></td>
</tr>
<tr>
<td colspan="5" class="break"><img src="tpix.gif" alt="" height="1px" width="161px" /></td>
</tr>
<tr>
<td colspan="5" class="center_content_bg"><img src="wtpix.gif" alt="" height="7" width="161" /></td>
</tr>
</table>
</body>
</html>

simonuk

1:44 pm on Mar 12, 2008 (gmt 0)

10+ Year Member



As encyclo already said I wouldn't worry just yet but if you are at all concerned download the report a webpage tool from Microsoft.

I have been testing a number of sites and currently quite a number have some problem or another in IE8. Even simple text-indents and background positions are messing up but as a beta 1 of a new browser I won't be worrying for a few months yet.