Thanks for the quick reply Nathan.

This comment information should be in the Sass online docs:)

I have tried using //, and now without comment at all, but it is still
producing the same error message.

Here's the updated code, http://pastie.caboo.se/50266.

Any further suggestions?

Xin

On Mar 29, 4:42 pm, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
> It's failing because Sass doesn't support C-like wrapped comments (using
> /**/). In fact, in version 1.5, it only supports one sort of comment:
> "//" at the beginning of the line (yes, disregarding indentation) will
> cause the line not to be parsed.
>
> As of the current trunk version, there are two robust ways to create
> comments. Non-outputting comments can be created by following a
> properly-indented "//" with text. For example:
>
>   #main
>     // Setting text color
>     :color blue
>
> compiles to
>
>   #main {
>     color: blue; }
>
> Comments that do output as CSS comments can be created with "/*". Note
> that "/*" is /just/ an opener; no closing "*/" is needed. For example:
>
>   #main
>     /* Setting text color
>     :color blue
>
> compiles to
>
>   #main {
>     /* Setting text color */
>     color: blue; }
>
> You can also nest blocks of text beneath either of these.
>
> Hope that's helpful!
> - Nathan
>
> Xin wrote:
> > I am getting an:
> > /* Internal Stylesheet Error */
>
> > when I use Sass on my live server. It works absolutely fine locally.
>
> > Now thinking about it, this must be a version issue.
>
> > Locally, I am using InstantRails 1.5, so:
> > Ruby 1.8.5
> > Rails 1.2.2
> > Using Mongrel 1.0.1
>
> > With my production server, which is with HostingRails, I am using:
> > Ruby 1.8.5
> > Rails 1.2.3
> > Using FastCGI
>
> > Here is my complete Sass file:http://pastie.caboo.se/50260
>
> > Any help is greatly appreciated.
>
> > Xin


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