Old 19-11-2007, 02:49   #1 (permalink)
haku
shiro
 
haku's Avatar
 
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 2,085
php css

Is it possible to write your css files in php so that they output dynamically? Its something I have been thinking about/wondering for quite a long time.

I know it can be done for inline commands, but Im talking about entire css sheets.
  Reply With Quote
Old 19-11-2007, 03:01   #2 (permalink)
Larixk
Senior Member
 
Larixk's Avatar
 
Join Date: Sep 2006
Location: Utrecht, Netherlands
Posts: 986
Send a message via MSN to Larixk
__________________
  Reply With Quote
Old 19-11-2007, 10:12   #3 (permalink)
pgo
i'm done, son
 
Join Date: Jan 2005
Posts: 12,262
Yup. Just do something like "stylesheet.php" and use:

<link rel="stylesheet" media="screen, projection" type="text/css" href="/css/stylesheet.php">
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8