HighDots Forums  

MSIE no more knows bottom

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss MSIE no more knows bottom in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
stefano picco
 
Posts: n/a

Default MSIE no more knows bottom - 01-18-2008 , 10:39 AM






Hi,

I got the following stylesheet and it works on all major browsers on
windows and macos:

body {margin:0px;background-color:#ffffff;}

#foot
{position:fixed;bottom:0px;width:100%;height:16px; background-color:#c0ffc0;}

with

<div id="foot">Footer</div>

Only the MSIE 7 placed it at the top!

Do someone know this problem and got a workaround or css hack?

bye
Stefano

Reply With Quote
  #2  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: MSIE no more knows bottom - 01-18-2008 , 11:11 AM






Scripsit stefano picco:

Quote:
I got the following stylesheet and it works on all major browsers on
windows and macos:

body {margin:0px;background-color:#ffffff;}

#foot
{position:fixed;bottom:0px;width:100%;height:16px; background-color:#c0ffc0;}
It surely doesn't. It doesn't on the most popular browser, IE 6.

Quote:
Only the MSIE 7 placed it at the top!
You apparently didn't test on MSIE 6 at all.

Besides, on MSIE 7, you most probably triggered Quirks Mode by using
wrong markup, see
http://www.cs.tut.fi/~jkorpela/quirks-mode.html

(Hint: Posting a URL is essential when asking for help. Among other
things, it would let people see what, if any, doctype you're using -
something very important, though many authors are unaware of this.)

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.