Forum Moderators: open

Message Too Old, No Replies

what is this stupid IE6 bug about?

what bug?

         

affter333

6:03 am on Aug 27, 2003 (gmt 0)



Below is a html from xmbox.com

What bug is it talking about?
Any Ideas?

===========================================

<html>
<head>

<title>You must be logged in to access this page.</title>
<style type="text/css">
<!--
/* avoid stupid IE6 bug with frames and scrollbars */
body {
voice-family: "\"}\"";
voice-family: inherit;
width: expression(document.documentElement.clientWidth - 30);
}
-->
</style>

</head>

<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000CC" VLINK="#0000CC" ALINK="#0000CC">

<CENTER><IMG SRC="../images/xmbox.gif" ALT="XMBox Webmail Logo" WIDTH="110" HEIGHT="30"><BR>
<SMALL>XMBox Webmail version 1.4.1<BR>
XMBox Free E-Mail Service<BR></SMALL>
<table cellspacing=1 cellpadding=0 bgcolor="#800000" width="70%"><tr><td><TABLE WIDTH="100%" BORDER="0" BGCOLOR="#FFFFFF" ALIGN=CENTER><TR><TD BGCOLOR="#DCDCDC" ALIGN="center"><FONT COLOR="#CC0000"><B>ERROR</B></FONT></TD></TR><TR><TD ALIGN="center">You must be logged in to access this page.</TD></TR><TR><TD BGCOLOR="#DCDCDC" ALIGN="center"><FONT COLOR="#CC0000"><B><a href="/webmail/src/login.php" target="_top">Go to the login page</a></B></FONT></TD></TR></TABLE></td></tr></table></center></body></html>

amznVibe

6:30 am on Aug 27, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Apparently IE doesn't subtract the width of the scrollbar for the page (or frame) from the document width and that author is very picky about knowing the exact page width... only problem with their logic is that scrollbar width can vary and they are just rounding to 30px There is a better method available to figure out scrollbar width by testing overflow size in a hidden frame if that measurement is ever really needed.

MonkeeSage

6:42 am on Aug 27, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



From the navbar CSS at DevEdge:

/*
fix up the submenu items
voice-family lines screen correct CSS values from browsers that
improperly lay out block-level boxes and have broken CSS parsers
(IE5.5/Win)
*/
ul.nde-menu-system li ul li
{
margin: 0 0 0 -1.5em;
padding: 0;
display: block;
width: 100%;
border: 1px solid rgb(66%,66%,66%);
border-width: 0 1px 1px;
list-style: none;
background-color: rgb(97%,97%,97%);
[b]voice-family: "\"}\""; voice-family: inherit;[/b]
margin-left: 0;
}

Jordan