Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CSS - Variables??

0 views
Skip to first unread message

Martin Platt

unread,
Jul 29, 2002, 10:01:13 AM7/29/02
to
Dear All,

I am wondering if there is any way to use variables within CSS?

I want to be able to define some positional settings then use them in the
style sheet. Is this possible?

I know I can get access to the DOM, so I could use hidden fields, but really
I;m hoping there's a neater way.

Any feedback will be highly appreciated.

Regards,

Martin.


Marc XrV

unread,
Jul 29, 2002, 2:19:11 PM7/29/02
to
use JavaScript


"Martin Platt" <martin...@pilkington.com> escribió en el mensaje
news:#RKI6fwNCHA.2572@tkmsftngp08...

Kyle M. Burns

unread,
Sep 14, 2002, 12:34:36 AM9/14/02
to
I think your only option for this would be to use expression() for the CSS
attribute. I've not done a lot of performance testing with this, but it
seems to me that the recalculations involved with dynamic styles would be
pretty expensive.


=================================
Kyle M. Burns MCSD, MCT
ky...@CaliberIS.com

"Martin Platt" <martin...@pilkington.com> wrote in message
news:#RKI6fwNCHA.2572@tkmsftngp08...

0 new messages