CSS Seperation

Out of context: Reply #1

  • Started
  • Last post
  • 1 Response
  • 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.

View thread