View Full Version : can i make a .css page that will apply to ALL of my pages?


moises911
06-20-2004, 09:55 PM
my site is www.fairy.aenimated.org/indexx.html and it works on iframes. but im tired of having to put the css code on EACH one of the pages. But now that I changed the layout I figured out that maybe I could make a .css page that will apply to all of my pages! Well i think it has something to do with .php too but if i can make it with plain html that would be really great, but if i cant then i will take it in any language! Your help will be greatly appreaciated! Thank You! :)

jtchange
06-20-2004, 10:46 PM
well first, just take the css that you have between the <style></style> tags and copy it into a file and name it filename.css where you change the bold, respectively. then put this CSS file onto your webserver and to 'call' it in your pages, just use the following:

<link rel="stylesheet" type="text/css" href="filename.css">

this must be in between the <head></head> tags tho

Demented
06-20-2004, 11:55 PM
You could also use php if your domain/hosts provides it.