[thelist] CSS: Not using .css

rudy r937 at interlog.com
Sun Sep 8 13:49:01 CDT 2002


don't forget that caching of the style sheet should be a consideration too,
which may not happen with a dynamic query string in the link tag

why not just use asp logic on each page to determine which style sheet to
link to?

pseudocode --

  if path contains "/articles/"
     <link href="/css/red.css" ...
  elseif path contains "resume"
     <link href="/css/white.css" ...
  else
     <link href="/css/blue.css" ...
  endif

this kind of logic would be in the global.asa (disclaimer: my understanding
of asp coding is iffy)

rudy
http://rudy.ca/




More information about the thelist mailing list