I have a part in my CSS file that uses an overflow-x and overflow-y. When I go to W3 to validate, it outputs a message saying:
Line : 0 property overflow-y does not exist for this profile, but is validated conforming to another profile
Line : 0 property overflow-x does not exist for this profile, but is validated conforming to another profile
Line : 0 property overflow-y does not exist for this profile, but is validated conforming to another profile
Why does it do this? Is there another way I should be doing this that will make it valid? Thanks for any help. It doesn't validate because it's proprietary — that'll only work in IE. I've heard rumors that it could possibly be standardized in the future, but we'll have to wait and see.Overflow-x and overflow-y are in the W3C Working Draft for CSS3, so it's probable we will see them in the future. Of course, CSS3 has to become a Recommendation first, then it has to be implemented, so it could take a while.
Check this out: <!-- m --><a class="postlink" href="http://www.w3.org/TR/2002/WD-css3-ui-20020802/#overflow">http://www.w3.org/TR/2002/WD-css3-ui-20020802/#overflow</a><!-- m -->
AdamYou can add troublesome IE CSS code in the HTML instead, so it'll validate. This, for example, is in the HEAD of one of my "in progress" HTML project pages, to get IE to behave while not troubling other browsers or causing validation issues:
<!--[if IE]>
<style type="text/css" media="screen">
body
{
overflow-y: hidden;
}
div.content
{
height: 100%;
overflow: auto;
}
</style>
<![endif]-->
Line : 0 property overflow-y does not exist for this profile, but is validated conforming to another profile
Line : 0 property overflow-x does not exist for this profile, but is validated conforming to another profile
Line : 0 property overflow-y does not exist for this profile, but is validated conforming to another profile
Why does it do this? Is there another way I should be doing this that will make it valid? Thanks for any help. It doesn't validate because it's proprietary — that'll only work in IE. I've heard rumors that it could possibly be standardized in the future, but we'll have to wait and see.Overflow-x and overflow-y are in the W3C Working Draft for CSS3, so it's probable we will see them in the future. Of course, CSS3 has to become a Recommendation first, then it has to be implemented, so it could take a while.
Check this out: <!-- m --><a class="postlink" href="http://www.w3.org/TR/2002/WD-css3-ui-20020802/#overflow">http://www.w3.org/TR/2002/WD-css3-ui-20020802/#overflow</a><!-- m -->
AdamYou can add troublesome IE CSS code in the HTML instead, so it'll validate. This, for example, is in the HEAD of one of my "in progress" HTML project pages, to get IE to behave while not troubling other browsers or causing validation issues:
<!--[if IE]>
<style type="text/css" media="screen">
body
{
overflow-y: hidden;
}
div.content
{
height: 100%;
overflow: auto;
}
</style>
<![endif]-->