[parenscript-devel] Problems with css

Andrei Stebakov lispercat at gmail.com
Thu Aug 21 16:05:47 UTC 2008


Hi

I started to use parenscript and javascript portion of it works just fine.
Now, I wanted to incorporate some css into the code and ran into problems.
When I try to evaluate the sample code:
(html-stream *standard-output*
  (html
   (:html
    (:head
     (css (* :border "1px solid black")
      (div.bl0rg :font-family "serif")
      (("a:active" "a:hoover") :color "black" :size "200%"))))))

I get an error:
Execution of a form compiled with errors.
Form:
  ((STYLE TYPE text/css)
 (PRINC

  <!--
)
 (PRINC (CSS-RULE-TO-STRING (CSS-RULE * BORDER 1px solid black))
  (CSS-RULE-TO-STRING (CSS-RULE DIV.BL0RG FONT-FAMILY serif))
  (CSS-RULE-TO-STRING (CSS-RULE (a:active a:hoover) COLOR black SIZE 200%)))
..
   [Condition of type SB-INT:COMPILED-PROGRAM-ERROR]

I am using sbcl 1.0.18 on Ubuntu. How can I solve it?

Thank you!
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/parenscript-devel/attachments/20080821/d31a88d9/attachment.html>


More information about the parenscript-devel mailing list