Were does my css stlysheet go in my header.php for webmaking?

  • Thread starter Thread starter Chris B
  • Start date Start date
C

Chris B

Guest
I don't know why it wouldn't work, but I would always use lowercase letter when using html, so there is no change of confusion and/or case-sensitive mistakes. I'm going to ignore your question and tell you what I would do to include a stylesheet into my .php file.
First I would create a file something like 'style.css'. Insert all the page styles in there. Then, in my header.php, I would insert the <link rel='StyleSheet' href='./style.css' type='text/css'> into either the echo of the php, or just the regular html format.
That's what I would do. If it didn't work, then there is probably something wrong with your css. A good way to verify it is/is not your css, copy and paste your entire css into the page istelf (no links). If it works then, I donno. If it doesn't theres your problem.
 
This is what the section looks like in my header.php for php include

"<LINK REL=stylesheet HREF="YOURCSSHERE.CSS" TYPE="text/css">"

I tried puting my stlye sheet in the part were it says "yourcsshere.css" but it doesnt work. please help!
 
Back
Top