Hi
I have begun to add CSS to my web pages. But only in certain areas. For instance I still give my page background color with thebody tag
<body topmargin="6" bgcolor="C0C0C0" leftmargin="0">
Should I go over to CSS totally. Would this help with my pages compliance to accepted standards..
Cheers Possum..
It's easier to do it all in CSS so then all of your style information is in one place. It's more consistent, and easier to edit in one css file instead of many html files if you ever want to change your pages' style.
You should use CSS at all I think, Then u can edit your site eaisly, instead of changing body tag on everydoc u can just change CSS.
thats correct you should use css it will make your page easier to edit
| Possum wrote: |
Hi
I have begun to add CSS to my web pages. But only in certain areas. For instance I still give my page background color with thebody tag
<body topmargin="6" bgcolor="C0C0C0" leftmargin="0">
Should I go over to CSS totally. Would this help with my pages compliance to accepted standards..
Cheers Possum.. |
IMO, yes.
It is much easier to maintain.
However if you have a lot of pages to convert, only do it if you plan on modifying them later, because it is great to make changes to css vs. html attributes, but "if it ain't broke, don't fix it"
Thing is, non-CSS pages tend to be broke anyway, even if they work. Browsers will have to go into quirks mode to display the pages more often than not.