PDA

View Full Version : [CSS/HTML] Internet Explorer Warning Bar



troberto
06-02-2008, 09:55 AM
1) CODE TITLE: INternet Explorer Notification Bars

2) AUTHOR NAME/NOTES: Tristan Roberts (homepage: www.webventures.com.au)

3) DESCRIPTION:
This script displays IE styled notification bars using basic HTML and a bit of CSS. I've found it really useful for use on my sites because it tells the user that their browser won't work.

4) URL TO CODE: http://www.webventures.com.au/dd

Nile
06-02-2008, 12:17 PM
You may want to give the body margin: 0 so the warning bar isn't like 5px from the top or side. But its nice.

troberto
06-03-2008, 07:57 AM
You may want to give the body margin: 0 so the warning bar isn't like 5px from the top or side. But its nice.

Thanks for the advice.
Added it, looks really good now!
Troberto

Nile
06-03-2008, 12:20 PM
Anytime. :D
Also I'd suggest adding a fixed position in like this:


background-color: #FFFFE1;
border-style: none none solid none;
border-color: grey;
border-width: 1px;
font-size: 10px;
width: 100%;
color: black;
font-family: Arial, Trebuchet, Helvetica, sans-serif;
position: fixed;
}

troberto
06-06-2008, 10:11 AM
Just added that!
Although I see no change..
Troberto

troberto
06-07-2008, 02:58 AM
I also added a code generator to easily create the code.
I was sort of bored!!
Troberto

Nile
06-09-2008, 07:38 PM
Giving it: position: fixed, makes it stay where it is on a scrolling page. So make your page able to scroll down by adding lots of content. And scroll down. You'll see the affect.