HighDots Forums  

Re: definition of variables in css file?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: definition of variables in css file? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Johannes Koch
 
Posts: n/a

Default Re: definition of variables in css file? - 08-06-2003 , 06:35 AM






Andrea wrote:
Quote:
Hi,
I have the folowing problem:

For defining the link style, the background, table background etc I
have to write several times the same color code into this document. If
I want to edit this color I have to do this several times in the
document.
No there are no variables in CSS.

Quote:
Is there a possiblity to define the color (or other things like font,
font-style)
once for the whole css?
You can group selectors:

selector1, selector2, selector3 {
color: #ffcc00;
}
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.