> Not only can you apply multiple classes to elements, you can also
> select elements with both classes and apply styles to only things with
> both.
>
> For example:
> .column {width: 48%}
> .left {float: left}
> .left.column {
> border-right: 1px solid #333;
> padding-right: 1em;
> }
> Thanks, Tim. Yes, you are quire right about the proliferation of classes,
> and I did not know about applying a second class. This has been the
> result of "learn as I go" and it seemed easier (at the time) to simply
> copy a class and make a few adjustment.
>
We all learn as we go. Just some
On 12/3/2010 12:51 PM, Thierry Koblentz wrote:
Hi Bill,
Many thanks, Thierry. Will settle for additional classes.
Actually, you should not have a list/list items in that span. So rather than
adding a class you'd better replace that span with a div (which will take
the padding).
As a side note
On 12/3/2010 12:51 PM, Climis, Tim wrote:
I am using this approach (rather than just change the registercolright
class) because each page where that class is used requires some
adjustment and I'd prefer, if possible, not to create a large number of
similar classes.
Then don't Apply multiple
Hi Bill,
> Many thanks, Thierry. Will settle for additional classes.
Actually, you should not have a list/list items in that span. So rather than
adding a class you'd better replace that span with a div (which will take
the padding).
As a side note, do you need that additional wrapper? Can't you
> I am using this approach (rather than just change the registercolright
> class) because each page where that class is used requires some
> adjustment and I'd prefer, if possible, not to create a large number of
> similar classes.
Then don't Apply multiple classes instead.
The point h
Many thanks, Thierry. Will settle for additional classes.
Bill
On 12/3/2010 12:41 PM, Thierry Koblentz wrote:
Everything I've research tells me this ought to be valid, but the seems to have no effect.
vertical padding will not create vertical space on inline elements
--
Regards,
T
> Everything I've research tells me this ought to be valid, but the style> seems to have no effect.
>
>
>
> // some code that writes an unordered list
> ?>
>
>
vertical padding will not create vertical space on inline elements
--
Regards,
Thierry
www.tjkdesign.com | www.ez
Good Afternoon,
Everything I've research tells me this ought to be valid, but the style> seems to have no effect.
I am using this approach (rather than just change the registercolright
class) because each page where that class is used requires some
adjustment and I'd prefer, if possibl