Anybody know a CSS hack that can enable something like a statusbar which is allways on top and located at the very top of the page?
Means if I scroll down I need it still to be on top of everything.
CSS only would be nice.. ;)
zollerwagner
9:20 am on Feb 6, 2005 (gmt 0)
Have you tried something like:
#statusdiv { position: fixed; // make it always in the same place on the screen z-indez: 100; // has to be higher than anything else on page right: 50%; // define where it appears top: 0; width: 50%; // define its size height: 10% }
orgaseo
1:44 pm on Feb 15, 2005 (gmt 0)
Thanks a lot!
createErrorMsg
9:29 pm on Feb 15, 2005 (gmt 0)
position: fixed; // make it always in the same place on the screen
Position:fixed is not supported by IE.
This page [css-discuss.incutio.com] links to some workarounds, but none of them are pretty.