Results 1 to 7 of 7

Thread: [CSS/HTML] Internet Explorer Warning Bar

  1. #1
    Join Date
    Jun 2008
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Post [HTML] Internet Explorer Warning Bar

    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
    Last edited by troberto; 06-07-2008 at 05:10 AM.

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    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.
    Jeremy | jfein.net

  3. The Following User Says Thank You to Nile For This Useful Post:

    troberto (06-03-2008)

  4. #3
    Join Date
    Jun 2008
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Nile View Post
    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
    Last edited by troberto; 06-03-2008 at 08:21 AM.

  5. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Anytime.
    Also I'd suggest adding a fixed position in like this:
    Code:
    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;
    }
    Last edited by Nile; 06-03-2008 at 11:55 PM.
    Jeremy | jfein.net

  6. #5
    Join Date
    Jun 2008
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default DOne And DOne

    Just added that!
    Although I see no change..
    Troberto

  7. #6
    Join Date
    Jun 2008
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Code Generator

    I also added a code generator to easily create the code.
    I was sort of bored!!
    Troberto

  8. #7
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    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.
    Jeremy | jfein.net

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •