Thanks for the info.  I've come across another way to accomplish this
as well...I can use PHP to write my CSS which will allow me to use
variables and do some dynamic math, etc.  I think that's probably the
route I'll go.

Thanks,
Tim

On Oct 29, 11:29 am, Mou <[EMAIL PROTECTED]> wrote:
> You can bunch your styles together.  So if you have 3 DIVs with a width
> of 54px, you can do this:
>
>     div.div1, div.div2, div.div3 { width:54px; }
>
> So changing the value in one place will affect them all.
>
> Timmay wrote:
> > I'm fairly new to CSS but I have a programming background.  I'm
> > building a web site and it seems difficult to entirely avoid using
> > fixed values for widths, padding, margin, etc.  So if I use a fixed
> > value I would at least prefer to make the value relative to another
> > value or reference some global value that can be used in multiple
> > places so that I can minimize the number of times I have to hard-code
> > something to a "magic number" such as 52px.  That way I have less work
> > if I want to tweak something.  How do other people solve this problem?
>
> > Thanks in advance,
> > Tim
--~--~---------~--~----~------------~-------~--~----~
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: [email protected]
To unsubscribe: [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to