PDA

View Full Version : to use CSS file seperately


io
02-17-2005, 02:42 AM
pixelpost is very new to me, so there is something i want to know.

is it possible to use CSS seperestely to make a new template?

I mean...

first, make a new directory in the template directory.

and then, put a new image_template.html in that new directory.

put this meta into an image template.html

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


here is my question about the path to the CSS file.

should i use absolute pass from index.php, or is it OK to use relative path?

OR is there any good way?

thank you,
io

blinking8s
02-17-2005, 03:58 AM
i put my template pages in the templates dir and then make a style folder in the root and seperate sections for the different css files and images

index.php

/style/
--/style/css/templatename/style.css
--style/images//templatename/image.jpg

if that makes sense

its an issue with the template design ive noticed, external style sheets were not incorporated into the template system as far as i know

io
02-17-2005, 04:43 AM
thank you so much, blinking8s.

i clearly understood.