Ninjakreborn Posted September 14, 2006 Share Posted September 14, 2006 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 warningshttp://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.thecampussource.com%2Fcampussource.cssWhat 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. Quote Link to comment https://forums.phpfreaks.com/topic/20763-validationwildteen/ Share on other sites More sharing options...
wildteen88 Posted September 15, 2006 Share Posted September 15, 2006 No need to change anything as it states it validates as valid CSS. I wouldnt worry trying to fix those warnings. Quote Link to comment https://forums.phpfreaks.com/topic/20763-validationwildteen/#findComment-92278 Share on other sites More sharing options...
Ninjakreborn Posted September 15, 2006 Author Share Posted September 15, 2006 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?? Quote Link to comment https://forums.phpfreaks.com/topic/20763-validationwildteen/#findComment-92467 Share on other sites More sharing options...
wildteen88 Posted September 15, 2006 Share Posted September 15, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/20763-validationwildteen/#findComment-92487 Share on other sites More sharing options...
AndyB Posted September 15, 2006 Share Posted September 15, 2006 [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. Quote Link to comment https://forums.phpfreaks.com/topic/20763-validationwildteen/#findComment-92497 Share on other sites More sharing options...
wildteen88 Posted September 15, 2006 Share Posted September 15, 2006 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=allYou'll see the CSS now validates. I corrected the warnings for you. Quote Link to comment https://forums.phpfreaks.com/topic/20763-validationwildteen/#findComment-92530 Share on other sites More sharing options...
Ninjakreborn Posted September 16, 2006 Author Share Posted September 16, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/20763-validationwildteen/#findComment-92778 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.