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
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
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
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.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.