SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Zealot
    Join Date
    Dec 2000
    Location
    Grosseto, Italy
    Posts
    189
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    What is a working CSS code to apply a color to an horizontal rule and working both in Internet Explorer and Netscape?

    Thanks

  2. #2
    SitePoint Wizard westmich's Avatar
    Join Date
    Mar 2000
    Location
    Muskegon, MI
    Posts
    2,328
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Netscape doesn't support color of the horizontal ruler. It's an IE thing.
    Westmich
    Smart Web Solutions for Smart Clients
    http://www.mindscapecreative.com

  3. #3
    SitePoint Zealot
    Join Date
    Dec 2000
    Location
    Grosseto, Italy
    Posts
    189
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    damn....
    you netscape guys! I can't believe over 20% of users get that browser
    I am sad now

  4. #4
    The Hiding One lynlimz's Avatar
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    2,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol..i love that reaction tabsquare. sounded like you had high hopes for that feature..and it was daunted when netscape didn't support it..ahah

    fret not..there are alternatives.
    you can cretae a 1 X 1 pixel image with the colour you want, then for the image tag, specify the width for as long as you want. a good replacement for the horizontal rule.

    OR

    for a simple line, '<hr width="100%" noshade size="1">'
    would do. =)

    have a pleasant day!
    "Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
    -- Albert Einstein

  5. #5
    SitePoint Zealot
    Join Date
    Dec 2000
    Location
    Grosseto, Italy
    Posts
    189
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    eh eh, netscape, if they don't bring it a bit more html compatible, hopefully it should die.


    I pretty like the pixel image trick.
    Thanks for the tricks

  6. #6
    The Hiding One lynlimz's Avatar
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    2,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no prob.

    make sure its 1 X 1, so you save on the filesize and loading time.

    do note that if you test your site with mozilla browsers too..be sure to get the latest version..at least 0.8....as there was a bug involved in this trick in mozilla builds... which would cause the line to blink. ( happens in netscpae 6 if I'm correct, as it uses an older build )
    Last edited by lynlimz; Mar 28, 2001 at 04:08.
    "Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
    -- Albert Einstein


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
  •