[Solar-talk] layout generator

Rodrigo Moraes rodrigo.moraes at gmail.com
Thu Aug 3 04:12:04 PDT 2006


On 8/3/06, Clay Loveless wrote:
> Actually, I think what's made CSS purists angry is the non-semantic
> class names, and the requirement of so much markup in the HTML itself
> (nested divs) to achieve the look you want.

Exactly.

> I've been reading more "published opinion" on YUI CSS today, and the
> most eloquent argument against it that I've seen is here:

Since it was released, I've looked for opinions and "working examples"
as well. There are some good (for YUI, bad) points starting from here.
But they follow the same lines: a lot of html, no semantic, etc.

http://groups.drupal.org/node/892#comment-2307

> By the end of it, I
> had a layout that looked pretty good. (I can't post it,
> unfortunately, as it's a pre-release thing and all that ... but Paul
> saw it, since he and I work for the same company. I think he found it
> hard to believe that YUI Grids was under the hood.)

Ok, no problem. But as I'm really interested in modular css / html,
you just made me *more* curious. Hehe, just kidding.

> Upon re-reading my statement here ... it's kind of contradictory,
> since Solar itself is the brilliant work of one guy (with some input
> from others). So, that's not really a legitimate strike against OTL. ;)

lol. hahaha. true!

> > - I can't make 100% width layouts *and* choose columns widths.
>
> Yeah, you certainly wouldn't be able to do that without an override
> CSS file. Even then, I'd have to play around to see how that would go
> exactly.

I'm affraid this is impossible right now without breaking other uses.

> > - Grids margins (I said sooner paddings; I meant margins) are not
> > under control and I don't know how to deal with this.
>
> The only way I was able to easily deal with content margins within
> the grids were nested divs. Not sure if that would solve the issue
> you had with them?

No, not really. My problem is related to the distances between each
grid. Since it's all based om em's, it is not under control. You can't
have "tied" grids, right?

> Paul ... you've been quiet in this discussion. :) Any thoughts at
> this point from you?

Paul wants some examples... hehe. :-)

I'm interested in OTL to to allow user-friendly customizable layouts
for a blog app. I've done this before, I'm just advancing it a bit,
since I've never used the same css base for the layout *structure*. I
think that an engine like this could be useful for other projects. But
I may be mixing things. It may be useful if you can control the layout
inside actions... this would (will) be specifically great for my app.
But what would be nice for Solar in general terms?

rodrigo


More information about the solar-talk mailing list