This is a discussion on "Why should I validate CSS?" within the Web Page Design section. This forum, and the thread "Why should I validate CSS? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Why should I validate CSS?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
||||
|
Why should I validate CSS?
Other than the obvious "to make sure I've got the syntax right", I don't see the point. I've just gone through lengths to make sure "non-standard" statements in my CSS files passed the W3C CSS validation. Then I came across some interesting articles on this issue.
One interesting example is the opacity rule. Although it's valid CSS3, some browsers (*cough* IE *cough*) don't support it as they should. Forcing me to do this...
Why should the user be forced to download an additional stylesheet? Why should I separate my code for different browsers when the idea of validation is that your code can be supported by most browsers? I see the benefits of validating you HTML, but can someone explain why I should bother validating my CSS?
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Last edited by spinal007; May 7th, 2007 at 15:12. |
|
|
|
||||
|
Re: Why should I validate CSS?
If everybody coded their sites strictly to standard, with everything fully validated, then the browser makers would be forced to make browsers which complied more uniformly, making life so much easier for all web designers/developers. That's why I personally think it's just as important to validate the CSS as the HTML - for the greater good! Just my opinion. (You can remind me that I said this when I post my first site up for critique, complete with validation problems)
|
|
||||
|
Re: Why should I validate CSS?
Quote:
BUT WHY??? I'm not gonna bother anymore... I'm gonna use opacity and filter as much as I want! :P
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
||||
|
Re: Why should I validate CSS?
Hehe, I understand. If only browsers didn't suck.
|
|
||||
|
Re: Why should I validate CSS?
So we validate all our sites so they are absolutely perfect and force...yes...force browser bigwigs to get off rears and give us some better browsers...
Last Blog Entry: More Sara Blogging (Nov 29th, 2007)
Last edited by sannbe; May 8th, 2007 at 05:06. Reason: soelling 201 correct edit spelling 201 shot self in foot |
|
||||
|
Re: Why should I validate CSS?
This won't validate but works, sometimes you just have to eat an error.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
||||
|
Re: Why should I validate CSS?
Quote:
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
||||
|
Re: Why should I validate CSS?
well filter is for IE, opacity for everything else. Really if you think about it IE should be updated to the correct opacity handler =)
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
||||
|
Re: Why should I validate CSS?
But then, what about FF's "-moz-property".
I've got to admit I'm guilty of this one. It's invalid CSS, but soooo handy... input{ -moz-border-radius:3px }
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
||||
|
Re: Why should I validate CSS?
css 3 also has corner-radius ugh.. heh. Maybe in 10 years.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
||||
|
Re: Why should I validate CSS?
Maybe in ten years Apple will have taken over the world and had every PC and copy of Windows destroyed. That would be nice.
|
|
|||
|
Re: Why should I validate CSS?
Isnt IE Microsoft? Theres your problem. I hate pc now that ive switched to mac. I wish everone had the money to afford a mac to experience true beauty. We love you Steve Jobs!
|
|
||||
|
Re: Why should I validate CSS?
heh, haha, tee hee. Woo! I think one rendering engine should be used. Gecko while good is a bloated beast, IE's engine is bleh, Opera's engine is good but still different from gecko and KHTML, KHTML is good but the same. Heck even different OS X browsers even though mostly they use Webkit display things differently, i.e. Omniweb vs Safari (Although Omniweb is uber fast and pretty.)
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
![]() |
| Tags |
| css, validation, w3c |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| trying to validate css | Phixon | Web Page Design | 12 | Oct 2nd, 2007 20:44 |
| Attempt to validate | Phixon | Web Page Design | 11 | Jul 24th, 2007 14:25 |
| Why wont it Validate | R8515198 | Web Page Design | 12 | Jul 4th, 2007 17:01 |
| Getting flash to validate? | newoptical | Flash & Multimedia Forum | 3 | Jun 29th, 2007 21:51 |
| validate form? | Nick | JavaScript Forum | 10 | Aug 31st, 2004 07:47 |