View Full Version : Adding a CSS style to PHP script

Puppet Master
11-18-2010, 09:07 PM
Hi all, newbe to PHP here.

I have a table in a PHP script and a CSS style which I would like to add to the the table.

But how would I add the style to the PHP file? Would I just include the file?

I included the file but the script output had the same formatting. The only difference was that the content of the CSS file was included in the PHP output.

-Puppet Master-

11-18-2010, 09:10 PM
Show us what you mean by "adding it to the PHP script".

Did you do inline CSS?

Like this:

<table style="font-family:arial; color:#ffffff;">

Puppet Master
11-18-2010, 09:23 PM
Perfect, it worked, thanks :D