When you use constants, you switch into constant-arithmetic mode, where stuff like 4 + 5 evaluates to 9. Thus, you also need to use the "+" operator to concatenate strings. If you want to include the spaces, either do
:border-bottom= !highlight_color + \ 1px\ solid or, more elegantly, :border-bottom= !highlight_color + " 1px solid" In the future, a lack of operator may default to concatenation with a space. - Nathan Hampton wrote: > Its almost like you were listening in to me and Nathan's emails today. > > We were discussing the exact same issue. > > Hopefully, it will be possible soon.... > > > On 2/8/07, s.ross <[EMAIL PROTECTED]> wrote: > >> Sorry about the odd title. Here's what I'm trying to accomplish: >> >> !highlight_color = #5d3526 >> >> ... >> >> .line-below >> :border-bottom= !highlight_color 1px solid >> >> This will not, of course, work. Is there a Sassy way to accomplish this? >> >> Thanks >> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
