Jump to content

Archived

This topic is now archived and is closed to further replies.

Ninjakreborn

validation(wildteen)

Recommended Posts

Hi, I tried using this layout, and I love it, it's really flexible, and thanks for helping me get this done, I will remember the favor, I was wondering, is there a way I can fix the warnings

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.thecampussource.com%2Fcampussource.css
What do you suggest, I am a little afraid to touch the layout because I don't want to mess anything up, is there a way I can fix those, and have it not affect it negatively. 

Share this post


Link to post
Share on other sites
No need to change anything as it states it validates as valid CSS. I wouldnt worry trying to fix those warnings.

Share this post


Link to post
Share on other sites
Ok, so it doesn't really matter about warnings.  What are they there for, like for the future when I do css layouts, do the clients look at it in a better manner when it's perfect css, or does that not matter.  A warning, I always try to add background color with color, not redifining stuff, but is there a difference between, having warnings and not having warnings??

Share this post


Link to post
Share on other sites
The client wont matter whether the site has valid HTML or CSS, they probably wont even know what valid HTML/CSS is.

When I use CSS and go to validate it I get warnings, sometimes I dont. I dont really understand the warnings at times. As long as the site looks good in the majority of browsers (such as IE, FF, Opera etc) then dont fix whats doesnt need fixing.

Share this post


Link to post
Share on other sites
[quote]You have some absolute and relative lengths in margin. This is not a robust style sheet[/quote]

That's a warning worth noticing. It suggests to me that some browser is going to jump up and bit you in the rear one day.

Share this post


Link to post
Share on other sites
yeah that warning is due to this:
[code] margin: 0px;
margin-right: 3%;[/code]
In the #information and #content .col selectors. It should be just [b]margin-right: 3%;[/b] or [b]margin: 0 3% 0 0;[/b]

If you go here:
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fhomepage.ntlworld.com%2Fcshepwood%2Fbusinessman%2Fcampussource.v2.css&usermedium=all

You'll see the CSS now validates. I corrected the warnings for you.

Share this post


Link to post
Share on other sites
Ah, thanks, I will look and see my stylesheet, and replace error parts with what you have, I added a lot of styles for forms, and everything else, so I have to do that.  Thanks.  I was working on programming the past few days on it, I forgot about that, just finished the login system.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.