467,077 Members | 952 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,077 developers. It's quick & easy.

MSIE no more knows bottom

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
  • viewed: 1487
Share:
1 Reply
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.

Similar topics

4 posts views Thread by Alex Bell | last post: by
4 posts views Thread by Doors of Perception | last post: by
1 post views Thread by Christoffer Berg | last post: by
3 posts views Thread by Frederik | last post: by
2 posts views Thread by Bernd Nies | last post: by
2 posts views Thread by Kevin Smith | last post: by
10 posts views Thread by Martin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.