tags:

views:

105

answers:

4

If you turn off javascript on stackoverflow you will see the noscript-warning on the top

#noscript-warning {
font-family:Arial,Helvetica,sans-serif;
position:fixed;
top:0;
left:0;
width:100%;
z-index:101;
text-align:center;
font-weight:bold;
font-size:120%;
color:#fff;
background-color:#AE0000;
padding: 5px 0 5px 0;

}

Question. How to position the alert on bottom of browser?

+4  A: 

CSS:

bottom: 0;
erenon
+2  A: 

Forgetting about browser support, change:

top:0;

to

bottom:0;
Jason Leveille
A: 

put

html
{
    height: 100%;
}

in your css

Ikke
+3  A: 

See Fixing position:fixed for Internet Explorer for tips on IE compatibility in either top or bottom positioning. Particularly, it's ugly when bottom positioned block scrolls up with the content, instead of staying fixed as expected.

spoulson