Stop Microsoft
Miscellaneous => Programming & Networking => Topic started by: billy_gates on 9 March 2003, 00:23
-
I put my page on the CSS valdator to make sure it was correct. It did not give errors but instead warnings...
then I made my CSS code look like this...
Then the warnings went away, when loaded in my browser it looks the same, just seems like a lot of redundant code to me. Should I keep it the way without warnings or make it shorter and keep the warnings?
-
Doesn't matter at all! These are just warnings and NOT errors! Your CSS is still valid so it's really up to you to decide. ;)
-
Without warnings of cource.
It may render in your browser but not someone else's otherwise. Dont be BILL G, make things COMPATIBLE.
-
quote:
Originally posted by X11: Slackware Commando.:
Without warnings of cource.
It may render in your browser but not someone else's otherwise. Dont be BILL G, make things COMPATIBLE.
It will render in EVERY browser out there just fine, believe me! These are just warnings that have to do with his links and body colors and not something of extreme importance.
-
I think because I like standards I will keep it the long way. Also I don't get major hits, so a couple extra bytes tagged to the html file won't matter. Thanks for your help. Also, is there a reason you need to have a background and a color in every curly bracket?
-
If you weren't following the standards, then your CSS would not be validated in the first place. These are warnings and not errors. As for your question there is no particular reason at least to my knowledge.
-
quote:
Originally posted by Billy Gates: Mac Comrade Captain:
Hope things might be a bit better if you try
-
Test everything in Opera, if it looks fine then that's good. If it looks the same in Opera and in IE (GRR!) and Netscape, then that's great.
-
The warnings refer to "best practice".
It's belt and braces - don't forget the bg colour of your text in case the body tag colour has failed.
zooloo