SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Apr 2011
    Location
    San Diego
    Posts
    111
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    How do I update my CSS?

    As you can see if you click the link below, I have 2 validation errors in my CSS. I wanted to decrease my opacity in my drop down menu a little bit, but apparently it's not valid in CSS 2.1, but a later version.

    W3C CSS Validator results for http://mgswalkthroughs.com (CSS level 2.1)

    Is there some kind of DOCTYPE for this? Sorry I'm still new to this.

    By the way, ignore the warnings. They were done on purpose.

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,112
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by louie540 View Post
    Is there some kind of DOCTYPE for this?
    No, it's not a doctype issue. Basically, if you want to use CSS3 at this stage you have to live with the error messages (unless you use a CSS3 validator, which you can choose as an option when you run the validation). Remember that validation isn't an end in itself, but a way to check that you haven't made a serious mistake. In this case, you just know that the error can be ignored.

    That filter you have is (I believe) only for IE6 and 7, so you may want to add one for IE8:

    -ms-filter: "alpha(opacity=93)";
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  3. #3
    SitePoint Zealot
    Join Date
    Apr 2011
    Location
    San Diego
    Posts
    111
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks again


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
  •