I actually arrived at Hampton's suggestion independently, which was:
table.calendar-day
:background #cccccc
td
:font-size .75em
:text-align right
a
:text-decoration none
&:hover
:background white
td.center
:text-align center
His other suggestion was to make .center a root level class. That
would probably be a good idea aas well. You'll notice this section of
Sass has undergone some changes ... it even has the new slick parent
reference :)
Thanks,
Steve
On Mar 26, 2007, at 1:04 PM, Tom Stuart wrote:
>
> On 26 Mar 2007, at 20:53, s.ross wrote:
>> what I believe I need to see is:
>> table.calendar-day td.center { /* note closed up space between
>> td and .center */
>> text-align: center; }
>
> Use parent references (you'll need to be using the Haml trunk):
>
> table.calendar-dav
> :background #ccc
> td
> :font-size .75em
> :text-align right
> &.center
> :text-align center
>
> Cheers,
> -Tom
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---