Using PHP to read style sheet -- create drop-down?
| From: | J J | Date: | Wed, 02 Jul 2003 21:57:57 +0000 |
| Subject: | Using PHP to read style sheet -- create drop-down? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-153796@lists.php.net to get a copy of this message | ||
Is it possible for PHP or maybe javascript+php to read
in a style sheet (whatever.css) and create a drop-down
of all the elements within that style sheet?
CSS contains:
.heading {blah blah size blah}
.headingBold {blah blah size blah bold}
Then in PHP I'd like to have a drop down that shows
those elements found in the style:
<select>
<option> heading
<option> headingBold
</select>
Is that possible to read in another file to create a
drop-down?
Thanks in advance!
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com