RE: [PHP] PHP & CSS
| From: | Chris Hubbard | Date: | Mon, 06 Oct 2003 19:17:54 +0000 |
| Subject: | RE: [PHP] PHP & CSS | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165219@lists.php.net to get a copy of this message | ||
Raquel,
this is an HTML question, not PHP. And here's the answer:
The following goes in the < head > section of your html:
<link href="path/to/style.css" rel="stylesheet" type="text/css">
-----Original Message-----
From: Raquel Rice [mailto:raquel@thericehouse.net]
Sent: Monday, October 06, 2003 10:13 AM
To: PHP-General
Subject: [PHP] PHP & CSS
I'm currently building a dynamic site which draws page configuration
variables from config (ini) files. To use those variables from the
ini files, I write the style sheet in the header of each page.
Here's my problem. I want to link to a style sheet rather than
writing it to the page head, so that it's not visible by viewing the
page source. I'm not sure how to draw the variable values from the
ini file and apply them to the style sheet. Does anyone have any
help?
--
Raquel
============================================================
He who possesses the source of enthusiasm will achieve great things.
Doubt not. You will gather friends around you as a hair clasp
gathers the hair.
--I Ching (B.C. ?)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php