Sent by Adam C. on 3 November 2004 22:10
thanks to all who posted solutions and work arounds, as a result i have
deffinitely learned a couple of new things that
i previously new nothing about..
i will be giving this a shot tonight~
much appreciated!!
reagrds,
C
Ramón Pravia wrote:
Luke Scammell wrote:
> Adam C. wrote:
>
>> Is it possible to define a certain style for multiple <DIV
>> ID=namehere....> once only - rather than defining the style for every
>> <DIV> ?
>>
>> I.e.
>>
>> I have two <DIV>'s
>>
>> 1. <DIV ID=productview1>
>> 2. <DIV ID=productview2>
>
>
> What you could do is keep the unique ID and add a class to each DIV,
> something like this;
>
> <div id='UniqueNameA' class='ProductView'></div>
> <div id='UniqueNameB' class='ProductView'></div>
> <div id='UniqueNameC' class='ProductView'></div>
>
> And then use the CSS;
>
> div.ProductView {
> position:relative; top:51px; left:64px;
> width:655px; height:110px;
> background-color:#fff;
> overflow:auto;
> }
>
> This way, if you want to have some specific styling on a specific
> product you can just add an #UniqueNameC, or whatever, to the style
> sheet without affecting any other products.
>
> Luke
>
>
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/