I am building a site in pure standards compliancy mode, but no matter what
DTD I use, IE6 will not play ball.
I have this style, applied to a DIV:
.folio_picture
{
width:150px;
height:150px;
float:left;
border:1px solid #FE901D;
padding:2px;
}
...which should render as a 156 pixel square box. It does this correctly in
Opera 6, Netscape6,6.2,7 and Mozilla 1.1b. IE6 however, still is doing what
it did in v5 - creating a 150 pixel square box, which is clearly not
compliant. I've variously used these DTDs, to no avail:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
I've even converted to XHTML and get the same problem,using this DTD:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Can someone please tell me how to get IE6 into standards compliant
mode--I've been trying to crack this for weeks!
Thanks in advance.
Matthew Hill.
This is a pain in the arse, but at least I know what's causing it now.
Matthew.
"Matthew Hill" <removeme....@ntlworld.com> wrote in message
news:eI8ftqETCHA.4240@tkmsftngp08...