www.webdeveloper.com
Results 1 to 10 of 10

Thread: Class.

  1. #1
    Join Date
    Mar 2003
    Location
    Somewhere on Planet Earth, I hope.
    Posts
    987

    Class.

    Hiya.

    Any idea why this piece of CSS isn't working in IE 5.01? I know it's an old browser, but just wondered if there was a way to fix it, as it's the only piece of our site that doesn't render correctly.

    PHP Code:
    #maincontent .seperation {
        
    border-top3px double #CCCCCC;

    We're using it with <p class="seperation"></p>

    Thanks.

    Regards,

  2. #2
    Join Date
    Nov 2003
    Location
    Canada
    Posts
    1,592
    I don't believe IE5 supports double borders...

  3. #3
    Join Date
    Mar 2003
    Location
    Somewhere on Planet Earth, I hope.
    Posts
    987
    Ah, must've been fixed in 5.5, seems fine in this version.

  4. #4
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Should be no problem, supported from IE4.

  5. #5
    Join Date
    Mar 2003
    Location
    Somewhere on Planet Earth, I hope.
    Posts
    987
    Hi Fang.

    Any ideas why IE5.01 doesn't show it then? Something to do with the way I formed the CSS or anything?

    Once this is done, our layout (fully CSS) and quite complexish works in:

    IE 4.01, 5.01, 5.5, 6
    Firefox 08->
    Opera 7.26->
    Netscape 7.x
    Mozilla 1.x
    Konqueror 3.1->
    Safari 1.2

    any others I haven't been able to test.
    This is why it's just this one silly seperator that isn't working and it's driving me mad! Hehehe!

    Thanks a million.

    Regards,

  6. #6
    Join Date
    Nov 2003
    Location
    Canada
    Posts
    1,592
    Odd... any chance you could upload a sample page?

  7. #7
    Join Date
    Aug 2003
    Location
    In my house
    Posts
    4,004
    It seems IE 5.0 has a problem with empty elements. Add &amp;nbsp; between the start and end tags, and you should be good to go.

  8. #8
    Join Date
    Dec 2002
    Location
    Manchester, UK
    Posts
    6,276
    I would be interested to see your layout, it's not that I don't believe you, but it just seems ... unlikely that it will work in IE4.
    Every fight is a food fight when you’re a cannibal.

  9. #9
    Join Date
    Mar 2003
    Location
    Somewhere on Planet Earth, I hope.
    Posts
    987
    Paul Jr: Thank you ever so much. Adding the nbsp; has indeed fixed it.

    lavalamp: I should edit that post, I pasted it directly from a "working site" page - and although IE4 is listed, it doesn't render correctly at all. Sorry about that. The rest seem accurate though.

  10. #10
    Join Date
    Aug 2003
    Location
    In my house
    Posts
    4,004
    Originally posted by skydan
    Paul Jr: Thank you ever so much. Adding the nbsp; has indeed fixed it.
    No problemo!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles