CSS Seperation
- Started
- Last post
- 1 Response
- swanky
I've been reading a lot on the seperation of structure and presentation with CSS, but how do designers best handle structure that shows up on multiple pages?
Using server side coding, those structures can be included on multiple pages, but any other tips or tricks for maintaining structure across multiple pages?
- sparker0
i'm not sure i understand your question?
using a single css file, referenced by a 'style' or 'link' tag isn't really server side coding...it is standard markup.
sure, you need to have that link on every page, but it's a single line.
for true "server side coding" you could use something like perl/php to write the line to each page dynamically, or you could use a templating engine like php's smarty to build all pages dynamically...but, in the end the link or style reference in your markup is still there.
using dom or javascript could also work, but javascript is a client side script...not server side.