Re: [css-d] Span Style Inside Div with PHP Code

2010-12-03 Thread Thierry Koblentz
> 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; > }

Re: [css-d] Span Style Inside Div with PHP Code

2010-12-03 Thread Climis, Tim
> 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

Re: [css-d] Span Style Inside Div with PHP Code

2010-12-03 Thread Bill Braun
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

Re: [css-d] Span Style Inside Div with PHP Code

2010-12-03 Thread Bill Braun
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

Re: [css-d] Span Style Inside Div with PHP Code

2010-12-03 Thread Thierry Koblentz
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

Re: [css-d] Span Style Inside Div with PHP Code

2010-12-03 Thread Climis, Tim
> 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

Re: [css-d] Span Style Inside Div with PHP Code

2010-12-03 Thread Bill Braun
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

Re: [css-d] Span Style Inside Div with PHP Code

2010-12-03 Thread Thierry Koblentz
> 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

[css-d] Span Style Inside Div with PHP Code

2010-12-03 Thread Bill Braun
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