- This topic is empty.
April 2, 2010 at 12:47 pm #28603Joseph AlessioParticipant
So, I’m new to web design in general. I just applied myself and learned basic HTML/CSS last year, and I’m working on HTML5/CSS3. HTML5 is relatively simple, and my HTML5 validates. But, my CSS3 doesn’t. The validator has problems with things like box-shadow and the -webkit- and -moz- properties. It renders in Safari, but when I put it through the validator it says that those properties don’t exist. So, I’m puzzled!
Any help would be appreciated! :)
P.S. What do you think of this site-in-progress? (attached) I’m using Cufon and such, I have a lot of attention to detail including 1px borders, shadows, border-radius, etc. It’s very light-weight. Professional input (i.e., more experienced than I!) would be great.
*edit, update* everything is valid except the -webkit- and -moz- properties, and the border-radius properties that I can’t figure out why they’re wrong. I’ll check on my syntax there.April 5, 2010 at 2:36 am #61574TheDocMember
Technically those things actually aren’t valid.
Don’t worry about it.April 5, 2010 at 6:50 am #73521EamonnMacMember
Not to hijack the thread, but it’s the same topic so..
I’m puuting my site through the validator as well and the only errors are the ‘-moz’ and ‘-webkit’ ones, which are fine. What bugs me though are the 40 accompanying warnings. One says ‘Redefinition of height’, another says’ You are encouraged to offer a generic family as a last alternative’, and then 38(!) say:Quote:You have no background-color set (or background-color is set to transparent) but you have set a color. Make sure that cascading of colors keeps the text reasonably legible.
That’s for p, li, h, span, etc. tags – for which I can’t/shouldn’t have to set a background value. What gives? can these warnings be eliminated properly? have I left something out of my stylesheet? (It’s not live atm, so I can’t provide a link unfortunately…)April 5, 2010 at 7:16 am #73523matt25Participant
Yeah, don’t worry about CSS3 validation because technically it doesn’t exist yet so there is no point in even trying to validate it, or if you do validate it to locate any errors just ignore anything to do with CSS3.
@EamonnMac Please make a new topic and it would help if you posted a link to your site for us to help you more
- The forum ‘CSS’ is closed to new topics and replies.