CSS doesn't work after convering to .PHP
#6

Cut and paste the css into a file called something like "main.css"

Then in the <head> of the HTML in your PHP file, do this:

<link rel="stylesheet" type="text/css" href="main.css" media="screen" />

EDIT: And yes, ALWAYS use <?php
I believe it is in good practice as most PHP interpreters look for that.
Reply


Messages In This Thread
CSS doesn't work after convering to .PHP - by Jernu - 30.12.2012, 15:47
Re: CSS doesn't work after convering to .PHP - by BlackBank - 30.12.2012, 16:03
Re: CSS doesn't work after convering to .PHP - by thefatshizms - 30.12.2012, 16:09
Re: CSS doesn't work after convering to .PHP - by BlackBank - 30.12.2012, 16:12
Re: CSS doesn't work after convering to .PHP - by GWMPT - 30.12.2012, 16:33
Re: CSS doesn't work after convering to .PHP - by SchurmanCQC - 30.12.2012, 17:13

Forum Jump:


Users browsing this thread: 1 Guest(s)