Proper CSS syntax

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Proper CSS syntax

Post by Celauran »

Inline styling makes changing/updating things later more difficult, for openers. Also, the people responsible for creating the content and those responsible for the presentation are often not the same people. I wouldn't leave design decisions up to a copy writer any more than I'd leave writing copy to a designer. Also, and maybe I should have been clearer about this, IDs are meant to be unique on any given page. Having the same ID reused across pages (say, #header) makes complete sense as is indeed good practice.
Pavilion
Forum Contributor
Posts: 301
Joined: Thu Feb 23, 2012 6:51 am

Re: Proper CSS syntax

Post by Pavilion »

Hello Celauran:
Also, the people responsible for creating the content and those responsible for the presentation are often not the same people.
. OK - that information helps. It's not my reality (but I certainly do understand the issue). :D
Also, and maybe I should have been clearer about this, IDs are meant to be unique on any given page. Having the same ID reused across pages (say, #header) makes complete sense as is indeed good practice.
Again - thank you. This information does clarify a lot for me. Knowing I can use the same IDs across pages is very helpful, indeed.

Thanks again - Pavilion
Post Reply