Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / July 2005



Tip: Looking for answers? Try searching our database.

IE position:fixed; hack doesn't like 4.01 strict DOCTYPE?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pete@pwilson.net - 26 Jul 2005 20:55 GMT
Trying to get this hack to run in IE6. But it seems that it works for
me only if there is no doctype. Is this the case?

If not, then can someone tell me, please, how I've screwed up the
styling?

Page with proper doctype:

 http://www.pwilson.net/cleanweb/fixed-position/fixpos-ie.html

Page with no doctype:

http://www.pwilson.net/cleanweb/fixed-position/fixpos-ie-no-doctype.html

Thanks!

-- Pete
Fig - 26 Jul 2005 22:03 GMT
> Trying to get this hack to run in IE6. But it seems that it works for
> me only if there is no doctype. Is this the case?
[quoted text clipped - 9 lines]
>
> http://www.pwilson.net/cleanweb/fixed-position/fixpos-ie-no-doctype.html

You need to validate your HTML. You have closed <html> and <body> twice.

Signature

Fig

pete@pwilson.net - 27 Jul 2005 01:39 GMT
You are so right! Thanks. Now how did I mess up the styling in this
first page, the page with proper doctype:

  http://www.pwilson.net/cleanweb/fixed-position/fixpos-ie.html

And how come the hack works on this page with no doctype, which of
course will never validate:

http://www.pwilson.net/cleanweb/fixed-position/fixpos-ie-no-doctype.html
pete@pwilson.net - 27 Jul 2005 01:39 GMT
You are so right! Thanks. Now how did I mess up the styling in this
first page, the page with proper doctype:

  http://www.pwilson.net/cleanweb/fixed-position/fixpos-ie.html

And how come the hack works on this page with no doctype, which of
course will never validate:

http://www.pwilson.net/cleanweb/fixed-position/fixpos-ie-no-doctype.html
Jedi Fans - 27 Jul 2005 01:54 GMT
> You are so right! Thanks. Now how did I mess up the styling in this
> first page, the page with proper doctype:
[quoted text clipped - 5 lines]
>
> http://www.pwilson.net/cleanweb/fixed-position/fixpos-ie-no-doctype.html

<br/> should be <br /> in a html document if not <br> [<br /> is more up
to date aka xhtml]
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.