Posted by Kimmo Laine on 05/29/06 15:52
<Ladysniper@gmail.com> wrote in message
news:1148906348.769964.314370@u72g2000cwu.googlegroups.com...
> Question...how do I embed the .php in a style sheet? See, I'm totally
> new at this. Though I'm learning (and I've taken the above pointers in
> hand! Thanks!) I still don't quite know enough to take what he wrote
> and make it work. (sighs)..
It works just the opposite. You embed the stylesheet into the php, not vice
versa. :)
place the following tag into your php sourcecode somewhere in the
<head></head> section: <link rel="stylesheet" type="text/css"
href="mystyle.css" /> and write the css-rules into <mystyle.css>. There are
a few other ways to embed a stylesheet (style-tag, import) but that's the
basic case.
--
"ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" -lpk
spam@outolempi.net | Gedoon-S @ IRCnet | rot13(xvzzb@bhgbyrzcv.arg)
Navigation:
[Reply to this message]
|