SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Zealot SirFrigglesworth's Avatar
    Join Date
    Aug 2009
    Location
    Chicago, IL
    Posts
    158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    overflow-y: scroll; css validator

    using the W3C css validator...

    and it is giving me errors for "overflow-y: scroll;"

    the error message is:
    Property overflow-y doesn't exist in CSS level 2.1 but exists in : scroll scroll
    "Death smiles at us all. All a man can do is smile
    back."

    -Gladiator

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,810
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    overflow-y is a CSS 3 property and does not exist in CSS 2.1.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  3. #3
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,355
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    You can validate the page against css3 by using the options on this page:

    http://jigsaw.w3.org/css-validator/#...i+with_options

  4. #4
    Follow: @AlexDawsonUK silver trophybronze trophy AlexDawson's Avatar
    Join Date
    Feb 2009
    Location
    England, UK
    Posts
    8,111
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Case in point: Validation is just a tool, not a measuring stick. I use CSS3 in my designs and you should see the "this doesn't exist!" errors it pushes in my direction to make it cross compatible. I do wish that the W3C would default to CSS3 though, it's not like it's going to lose CSS 2.1 support with the upgrade.

  5. #5
    SitePoint Zealot SirFrigglesworth's Avatar
    Join Date
    Aug 2009
    Location
    Chicago, IL
    Posts
    158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    got it. the scroll is looking consistent in all major browsers so whatever
    "Death smiles at us all. All a man can do is smile
    back."

    -Gladiator

  6. #6
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,592
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by SirFrigglesworth View Post
    got it. the scroll is looking consistent in all major browsers so whatever
    Just so you know, it will look the same in just about every browser (I'd bet that about 99% of the market today has a browser that supports overflow-x/y, it's just that it's CSS3 and since that isn't a standard and recognized by the validator (this doesn't mean don't use it!) then it won't validate.

    Just shrug it off
    Always looking for web design/development work. Willing to do it cheap to build portfolio!


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
  •