PHP, HTML, CSS and a lot of problems
| From: | Björn Berg | Date: | Mon, 17 Nov 2003 20:37:00 +0000 |
| Subject: | PHP, HTML, CSS and a lot of problems | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-170005@lists.php.net to get a copy of this message | ||
I have written a short script in PHP that parses an HTML template and replaces Blocks (looks-like special HTML Tags) with information fetched from a Mysql database.
The problem I have is that the HTML template includes several Javascripts and CSS definitions, looks like that:
<link rel="stylesheet" type="text/css" href="default.css">
<style type="text/css">@import url(default.css);</style>
I do not understand why the browser cannot interpret it after it is parsed through the PHP script. A link relation to a favicon works without problems and is displayed in the browser URL.
Does anybody know how to get it running?
Regards,
Björn
--
Die größte aller Schwächen ist, zu fürchten,
schwach zu erscheinen. (Jacques Benigne Bossuet)