By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,738 Members | 1,080 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,738 IT Pros & Developers. It's quick & easy.

MSIE no more knows bottom

P: n/a
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
Jan 18 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Scripsit stefano picco:
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.
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/

Jan 18 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.