Global Style Sheets - GSS :-)

They have: 297 posts

Joined: Apr 1999

What do you put inside of that file?

----------
Malte Ubl - [red]Germany[/red] - http://goKewl.com/
[red]The beats of 1000 hearts inside...[/red] the merciless pulsation... [red]and all I know is I'll be back...[/red] back to trance nation!

They have: 36 posts

Joined: Jul 1999

in the file you would put CSS. if you don't know CSS, learn it (very easy, just search for CSS tutorials on the net, that's how i learned).

CSS can work by defining the properties of anything within a tag. for example, in file.css you could have:

B {color: red}

.dans1 {
color: blue;
font-size: 11pt;
font-family: Verdana,Arial,Helvetica;
}

body {color: yellow}

.....end of file.css don't type this, just to let you know.....

ok. First, the B {} section will make all bold text where you've used the <B> </B> tags red as well. Next, .dan1 can be used like so in the body of your html document:

<div id="dans1">
text goes here
</div>

and "text goes here" would have all the properties defined in .dans1 {}

next, body {} applies these properties to anything within <BODY> </BODY> tags. Because these encompass your whole main body of the html document, you are basically putting global CSS here... although what works in IE might not work in NS so you'll have to play around with it.

that help?

----------
Dan Tucker
http://ctpball.paintballresource.com

They have: 297 posts

Joined: Apr 1999

Hi,

what's the shortest syntax for defining a stlye for all text in a document?

Thank You,

Malte Ubl

----------
Malte Ubl - [red]Germany[/red] - http://goKewl.com/
[red]The beats of 1000 hearts inside...[/red] the merciless pulsation... [red]and all I know is I'll be back...[/red] back to trance nation!

They have: 2,390 posts

Joined: Nov 1998

<link rel="STYLESHEET" type="text/css" href="file.css">
That any help?
JP

----------
[red]The Next Step in Website Development [/red] - http://www.what-next.com
The Webmaster Promotion and Resource Center

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.