You are here: class attribute selection and assignment « HTML « IT news, forums, messages
class attribute selection and assignment

Posted by Jon Slaughter on 04/15/07 17:58

Is it possible to do something like assign to an attribute
SomeClass.SomeAttribute? If not it should be?

I have two spots where I use the same value and they have to be the same
value at all times. Basically I have to use two divs that have the same
width but one is transparent with a higher z-order and the other supplies
the background color with a lower z order(while something sits inbetween).
In any case, I have to set the width to the same value but I'd rather just
keep it in one spot. Would be nice if I could just use
width:OtherClass.width; instead of later on forgetting that I had two spots
and end up only changing one.

Thanks,
Jon

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация