You have to put them all on the same line:

h1, h2, h3
  :font
    :weight bold
    :family Helvetica, Arial, sans-serif
    :color #000

In trunk, I believe putting them on a separate line will work, but not 
in stable (1.7.1).

- Nathan

sbtodd wrote:
> I tried this in a .sass file:
>
> h1,
> h2,
> h3
>   :font
>     :weight bold
>     :family Helvetica, Arial, sans-serif; color: #000
>
> The result in the .css file was:
>
> h3 {
>   font-weight: bold;
>   font-family: Helvetica, Arial, sans-serif; color: #000; }
>
> h1 and h2 were not included ...
>
> Do I need to repleat the attributes like this:
>
> h1
>   :font
>     :weight bold
>     :family Helvetica, Arial, sans-serif; color: #000
> h2
>   :font
>     :weight bold
>     :family Helvetica, Arial, sans-serif; color: #000
> h3
>   :font
>     :weight bold
>     :family Helvetica, Arial, sans-serif; color: #000
>
> I looked in: http://haml.hamptoncatlin.com/docs/sass but did
> not see a way to assign the same attributes to multiple selectors.
>
> Todd
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to