CSS help?

All about creating websites!
Post Reply
User avatar
Swan
Knight of the Sword
Knight of the Sword
Posts: 827
Joined: 18 Oct 2006, 16:00
17
Contact:

CSS help?

Post by Swan »

Sorry sorry sorry if this is a total retarded question.....

but I have made some php/sql stuff, with a form included. I wanted to use CSS to help improve the layout, but when I include the css all I get is the CSS "code" appearing as ordinary text.....

do I need to save the file as a special file extension....or include some sort of file? Im not sure at all....

G-Brain
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 467
Joined: 08 Nov 2007, 17:00
16
Location: NL

Post by G-Brain »

Include the CSS how? With PHP's include()?

To include a style sheet, you put this in the <head>:

Code: Select all

<link rel="stylesheet" type="text/css" href="test.css" />
Where test.css is your CSS file.

Post Reply