SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    Don't get too close, I bite! Nicky's Avatar
    Join Date
    Jul 1999
    Location
    Lancashire, UK
    Posts
    8,277
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Cross Browser Non-Compatibility

    I only have IE6 on my machine but I have been told that
    www.longtonmotorsalvage.co.uk

    is having problems rendering the style sheet in other versions of IE.

    Could someone please give me some advice on how I can make the style sheet more cross browser compatible?

  2. #2
    SitePoint Wizard Bill Posters's Avatar
    Join Date
    Dec 2001
    Location
    UK
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try changing all the tag selectors in the css file to lowercase.

    I think css *is* case sensitive


    Or it could be the extra } you've got on line 7.

    Validation, my dear.


    p.s.
    why start the markup with a shedload of linebreaks?
    You got sumfin' against margin-top?
    New Plastic Arts: Visual Communication | DesignateOnline

    Mate went to NY and all he got me was this lousy signature

  3. #3
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Nicky, you seem to have two styles for your h3 elements in the stylesheet. Could that be causing some confusion?

    Quote Originally Posted by Bill Posters
    I think css *is* case sensitive
    CSS for elements is not case-sensitive, but font-family names and URLs may be. Read the following link for more info:

    http://developer.irt.org/script/5409.htm

  4. #4
    SitePoint Wizard Bill Posters's Avatar
    Join Date
    Dec 2001
    Location
    UK
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by vgarcia
    Nicky, you seem to have two styles for your h3 elements in the stylesheet. Could that be causing some confusion?


    CSS for elements is not case-sensitive, but font-family names and URLs may be. Read the following link for more info:

    http://developer.irt.org/script/5409.htm

    What I should have said is that XML is case-sensitive so when the xml parser looks to the css file to match up the selectors with their respective tags in the markup they might not match up.

    In her markup:
    <html>

    In her css:
    HTML {...


    <edit>
    http://www.macedition.com/cb/ie5macbugs/notbugs.html
    http://devedge.netscape.com/viewsour.../css-class-id/
    </edit>
    Last edited by Bill Posters; May 9, 2003 at 06:44.
    New Plastic Arts: Visual Communication | DesignateOnline

    Mate went to NY and all he got me was this lousy signature

  5. #5
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Thanks for clearing that up Bill. I also realize that my link relates more to HTML 4.0/4.01 than XHTML.


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
  •