|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: A tip for those with CSS3 and/or vendor errors
Quote:
![]() |
|
#2
|
|||
|
|||
|
Re: A tip for those with CSS3 and/or vendor errors
I noticed this as well a while back, and changed our "CSS" link in our footer like you did. Turned out our stylesheet still had some errors in it thanks to normalize.css. I'm not too bothered by it though, and here's why.
There's technically no accessibility benefit to using completely valid CSS. CSS is just a presentation tool after all. Valid HTML is important because it allows your website to target browsers which you don't usually think about, such as search engines and screen readers. Valid CSS doesn't let you do this. I have a hard time thinking you need to worry about whether you get errors for using vendor extensions in your CSS. Or about whether or not you are using hacks in your CSS, for that matter. So right now, our website doesn't have valid CSS, and I'm not too bothered to change that. I'd love for someone to prove me wrong here and get me to fix that. |
|
#3
|
|||||
|
|||||
|
Re: A tip for those with CSS3 and/or vendor errors
Quote:
Additionally, I believe if you are going for the website award, valid CSS is a part of the rubric. |
|
#4
|
|||
|
|||
|
Re: A tip for those with CSS3 and/or vendor errors
Ironically, the only reason we have to use invalid CSS is to increase browser support. border-radius and box-shadow are a part of the CSS3 spec by now, but older browsers only support the prefixed versions. After all, the whole point of using normalize.css was to get things to look consistent between browsers.
You make a great point about vendor prefixes, but I can't blame browser vendors for implementing features faster than they are standardized. It's certainly better than being the other way around. I have faith for now that the scenario you point out will never happen. Also, non-standard code also led to some useful technologies like AJAX. The blink and marquee tags just tell one side of the story. Just pointing that out. ![]() I care about standards as much as anyone and I understand FIRST's intention, but I think it makes sense to stretch the rules a bit. |
|
#5
|
|||||
|
|||||
|
Re: A tip for those with CSS3 and/or vendor errors
Quote:
And that's true, about AJAX, although isn't that pretty standardized now (despite the fact that all browsers use a different way of doing it... again, an annoyance, much like a "new feature" done during the browser war.) I agree. I just don't think vendor extensions are stretching the rules, haha. |
|
#7
|
|||
|
|||
|
Re: A tip for those with CSS3 and/or vendor errors
Quote:
|
|
#8
|
|||||
|
|||||
|
Re: A tip for those with CSS3 and/or vendor errors
Thank you. While not the site I found originally, you're definitely right that it's the original source for sure. The site I found even had a similar title, if I remember correctly.
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|