hello,

I just downloaded one of the layouts,
and I stumbled about the huge amounts of size / color definitions.
I realize that this is not a typical web2py question,
but with web2py and it's layout inheritance the problem becomes even bigger.
I wonder what's the best place to organize size (and other properties) of 
objects.

You can define size directly in pure html, where to place them in generic.html 
/ layout.html /
other.html ?
You can place them in a style tag in html, is that a good choice ?
You can place them in css, which can be heavily nested. What value of nesting 
is acceptable ?

Opening the page in Mozilla with firebug,
reveals that some components have 10 or more nested definitions of sizes / 
colors etc.
(of which a lot are invalid)
 I wonder how anyone can maintain such a complex hierarchy.

Is there a way (other than firebug) to show this hierarchy ?

thanks,
Stef Mientki



Reply via email to