Scott L. Burson wrote:
> Hi all,
>
> As we probably all know, CSS as a language has its limitations,
> notably the complete absence of any abstraction mechanisms.  I've been
> meaning to check out some CSS compilers, but haven't yet.
>
> But in the course of fiddling with my site the other day, I
> experimented with some layout by just supplying :STYLE attributes
> inside WITH-HTML, rather than by assigning classes and adding clauses
> to the CSS files.
>
> And then it struck me.  Why do we Weblocks users need CSS files at
> all?  We're generating the HTML anyway -- why don't we generate the
> styles at the same time?  We would have all the abstraction
> capabilities of Common Lisp at our fingertips and we wouldn't need to
> earn yet another language.
>
> Basically everything in Weblocks that generates HTML would call a new
> method to get the style for each element.  I haven't started to work
> out all the details, but doesn't this sound like a good idea?

I've been planning this for a long time. It's not hard and incredibly
useful, and the current CSS files are a mess. Go ahead and I might
just jump in developing. It's good to have more than one person doing
serious work on Weblocks again. :) Also, sorry for not merging your
accumulated heap of patches yet. It's definitely on my TODO.

  Leslie

-- 
You received this message because you are subscribed to the Google Groups 
"weblocks" 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/weblocks?hl=en.

Reply via email to