CSS help
Alphax
alphasigmax at gmail.com
Thu Oct 19 09:36:00 CST 2006
Brian Astill wrote:
> Thanks for the help - great!
>
> I have a php script that does what I want but cannot get the thing
> to load into an HTML page.
>
> I've tried <SCRIPT type="text/php" src="menu.php">
> </SCRIPT>
> and
> <link rel="text/php" src="menu.php">
>
> and others.
>
> What IS the correct syntax?
>
If the PHP file is just returning a CSS file the correct syntax is <link
rel="stylesheet" type="text/css" src="menu.php" />. Anything else
requires treating all HTML files as PHP.
--
Alphax
Death to all fanatics!
Down with categorical imperative!
OpenPGP key: http://tinyurl.com/lvq4g
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 569 bytes
Desc: OpenPGP digital signature
Url : http://www.linuxsa.org.au/pipermail/linuxsa/attachments/20061019/5fa1b6e0/signature.bin
More information about the linuxsa
mailing list