This is a discussion on "CSS validation" within the Web Page Design section. This forum, and the thread "CSS validation are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
CSS validation
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|
|
|||
|
Re: CSS validation
Is it not just because that is not CSS, well at least not valid CSS.
I'm not sure but id say it was DHTML, nothing you can do about it, although it will work fine. Correct me if i'm wrong! __________ regards christoefar |
|
||||
|
Re: CSS validation
Thanks for your reply Christoefar. Yes, I was thinking that it wasn't CSS too, but I just followed the lightbox instructions and stuck all the bits where it said to stick them (If you know what I mean!). I know you can hide certain things in certain ways so that they pass validation, but I don't know how to do that!
|
|
|||
|
Re: CSS validation
Not used lightbox, I would try using
<!-- --> To enclose the part that fails validation. Just a guess!! __________ regards christoefar |
|
|||
|
Re: CSS validation
Been reading about lightbox, it seams you can remove the "filter:" part of the CSS if you are not bothered about the shadow.
But other than that it won't validate. __________ regards christoefar |
|
||||
|
Re: CSS validation
Hmmm, I removed the filter bit as you suggested, and sure enough it passed validation - hurrah! Oddly though, it didn't seem to affect anything on the function of it when I viewed the site, so I don't really get what that bit was for. I kind of hate using a technique that I don't fully understand like this, but it's too cool not to!
Thanks mate |
|
|||
|
Re: CSS validation
Yer strange!
Maybe it is your browser? The filter is supposed to be for the shadow, but looking at the examples on the site, shouldn't really matter as the shadow is minimal. |
|
||||
|
Re: CSS validation
Don't remove anything!
If you CSS doesn't validate because of those "non-W3C properties" don't sweat it! It's no big deal. |
|
|||
|
Re: CSS validation
Depends if you like everything to validate :P
|
|
||||
|
Re: CSS validation
The validator has it's purposes - Importance of Validation
In this context tho ... you won't get people calling you a incompetent fool because your CSS doesn't validate with those properties in there |
|
|||
|
Re: CSS validation
Yes of cause, alot of the CSS I do doesn't validate, but it causes no major problems, so I just leave it.
|
|
||||
|
Re: CSS validation
Well having recently finished a course where they told us everything HAD to validate, I'm coming at it from that angle, but I guess I'll have to learn to adjust to the real world a bit more!
|
|
||||
|
Re: CSS validation
Oh yes dear ... "real world" ... not the same AT ALL as "course world"
March to Your Own Standard - a bit extreme, but you get the point |
|
|||
|
Re: CSS validation
If it's possible to code and validate than that is the best choice, but some things can't be done without the odd validation error.
As long as your site is compatible with most browsers, then in my opinion it should be fine. Obviously if your code is all over the place, with loads of errors, people that do have web design knowlege will notice. |
|
|||
|
Re: CSS validation
Was abit slow on the reply there! :P
|
|
||||
|
Re: CSS validation
Quote:
|
|
||||
|
Re: CSS validation
I'm anal, so I like to see the soothing green colors of a validating page. I just cheat by using JavaScript to put in filter and opacity CSS styles.
|
|
||||
|
Re: CSS validation
I bork my CSS validation all the time to use something like a .htc file to make crap IE understand the psuedo class :focus etc.. Argh!
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
![]() |
| Tags |
| css, lightbox, validation |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with validation | snappy | Web Page Design | 4 | Mar 27th, 2008 18:33 |
| help with validation | glensimister | JavaScript Forum | 2 | Jul 26th, 2007 22:58 |
| w3c validation | cocoonfx | Web Page Design | 8 | Jul 21st, 2007 13:55 |
| CSE for validation | nextgen | Scripts and Online Services | 3 | Jan 30th, 2007 03:41 |
| Validation help | Powderhound | Web Page Design | 13 | Nov 4th, 2006 20:53 |