Re: PHP, HTML, CSS and a lot of problems
| From: | David T-G | Date: | Mon, 17 Nov 2003 20:53:28 +0000 |
| Subject: | Re: PHP, HTML, CSS and a lot of problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170008@lists.php.net to get a copy of this message | ||
Björn --
..and then Björn Berg said...
%
% 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.
Sounds neat.
%
% 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>
Seems straightforward enough.
%
% I do not understand why the browser cannot interpret it after it is parsed
Well, how does it look?
% 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?
Not until you show us some code and some before-and-after. We're not
mind readers, you know :-)
%
% Regards,
% Björn
HAND
:-D
--
David T-G * There is too much animal courage in
(play) davidtg@justpickone.org * society and not sufficient moral courage.
(work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/ Shpx gur
Pbzzhavpngvbaf Qrprapl Npg!