Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

using style sheets (css)

I seem to have a problem using stylesheets. that is, i can't seem to do that.
all i could seem to be able to find in the help in the program is how to use styles inside each particular html. what i want to do is have a seperate .css file. how can i do that?
i downloaded a template that has in it a seperate .css, and saw how it should look like. but i understand how to do it myself.

thanks,
me.

john doe
Thursday, July 24, 2003

You can create a template and set its extension to .css

The template doesn't have anything in it.

Then create an article, write your css stuff in it and set it to the .css template.

Or, you can just create a file and give it .css extension

Joel Goldstick
Thursday, July 24, 2003

Wow I thought I replied to this.

In Designer Mode, click on HTML to add a file, and stick the CSS in there... give it a .css extention.

Also, I maintain my CSS directly in the template simply because it's easier to maintain... It might be a greater load on the server, but not much.

www.marktaw.com
Thursday, July 24, 2003

Oh yeah... the link to the .css using it's magic name.

It sounds like you need to learn CSS more, this isn't exactly a CityDesk issue.

www.marktaw.com
Thursday, July 24, 2003

Thanks.

my problem wasn't with "creating a css" or something of the sort, but rather using the .css that i've created. that is to say, linking the .css file i created to the template's [head].

I specificly need to use only one .css file, because i'll use it with several templates, and i want the same "style" in all of them.

my problem was that i didn't know how to use the "magic name" function.

Problem solved.

thanks

john doe
Friday, July 25, 2003

for link up external css need use following element in section head:

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

Alexander Belchenko
Tuesday, August 12, 2003

*  Recent Topics

*  Fog Creek Home