The reason why I wanted the comments on the same line is because it
was an IE fix and I wanted to state that beside it instead of above.

I just used "//" and it works. I'll have to try just "/*". Sorry for
the confusion about the comments. I'm fairly new to Sass and my CSS
habits still kick in a bit.

- Mike

On Sep 14, 2:43 pm, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
> I'm not sure what you mean by "works" and "doesn't work", but neither of
> those are valid Sass. Comments should be placed on their own lines, and
> "/*" comments (which output to the stylesheet) don't need to be followed
> by "*/":
>
> .class
>   /* Comment
>   :float left
>
> .class {
>   /* Comment */
>   float: left; }
>
> .class
>   // Comment
>   :float left
>
> .class {
>   float: left; }
>
> - Nathan
>
> Scriber wrote:
> > When converting CSS into Sass today I've come across a commenting
> > issue. Please see below.
>
> > Doesn't Work
> > .class
> >   :float left /* Comment */
>
> > Works
> > .class
> >   :float left // Comment
>
> > Just a minor detail, that I'd like to share.


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