[EMAIL PROTECTED] wrote:

> I have an issue with the sidebar.gif that will not repeat in IE6 
> unless the DocType statement is commented out, not good for 
> validation! It is fine in Firefox.. My guess is that document 
> switching may be the issue, but I cannot work out the fix.

> http://www.agreatlife.co.uk/nodoctype.htm

> http://www.agreatlife.co.uk/doctype.htm

Add...

* html body {height: 100%;}

...so IE6 get a base to calculate from.


Note: don't use 'CSS comments' (/* */) in HTML - ever. They may ruin
more than validation.

If you ever have to keep IE6 in Quirks mode while wanting a valid HTML
DocType for standard mode in other browsers - and flawless validation,
then put a proper 'html comment' _above_ the DocType Declaration - like
this...

<!-- -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to