www.webdeveloper.com
Results 1 to 2 of 2

Thread: Help with browser compatibility!

  1. #1
    Join Date
    Jan 2010
    Posts
    1

    Help with browser compatibility!

    Hello,

    Wonder if you can help, i'm very new to coding, and i have an error in Dreamweaver showing as 'error parsing styles'. It effects IE 6.

    The code flagged is:

    body {
    background-color: #EED38D;
    background-image: url(images/background.gif);
    background-repeat: repeat-x;
    a img {border:0; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    color: #333;
    color: #333;
    }

    }

    Hope you can help!

    Thanks,

    Joe

  2. #2
    Join Date
    Mar 2006
    Posts
    172
    Code:
    body {
    background-color: #EED38D;
    background-image: url(images/background.gif);
    background-repeat: repeat-x;
    }
    
    a img {border:0; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    color: #333;
    }
    Hard to be sure what declarations go with what rule, but there's clearly a problem in that you nested that "a img" rule inside the rule for "body".

    cfh

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