FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Use of CSS (Should it be total)

 


Possum
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..
Agent ME
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.
InsanePL
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.
jovz0597
thats correct you should use css it will make your page easier to edit
snowboardalliance
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"
Fire Boar
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.
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.