[Zope3-dev] Re: Brainstorming page architecture, pagelets, portlets, etc.

Tonico Strasser contact_tonico at yahoo.de
Thu Nov 11 09:19:01 EST 2004


Jean-Marc Orliaguet wrote:
> Tonico Strasser wrote:
> 
>> Jean-Marc Orliaguet wrote:
>>
>>> - for the styling, have a pluggable interface to let the layout 
>>> renderer write CSS class names and let portlets, pagelet register 
>>> their own CSS styles (that should be done through a renderCSS() 
>>> method, not through a flat CSS document)
>>
>>
>>
>> This reminds of a CSS library for Python I've seen some time ago. I 
>> wonder how such a CSS renderer will deal with CSS hacks[1].
>>
>> [1] <http://cthedot.de/cssutils/>
>> [2] <http://css-discuss.incutio.com/?page=CssHack
>>
>> Tonico
>>
> 
> 
> Hi!
> 
> Personally I strictly use no hacks, since most of them are meant to make 
> it possible to use the exact same HTML code in many situations and let 
> the browser handle the negociation/browser detection logic (NS4, IE, 
> text-based browser, hidden boxes, PDA, etc...).

But I have to deal with CSS hacks every day. Browsers are not perfect 
yet. Here ist an example were I *have to* use some hacks to fix browser 
bugs: <http://www.webproducer.at/flexible-layout/>

I agree completly with you that avoiding hacks is the best practice, but 
sometimes you can't.

Tonico



More information about the Zope3-dev mailing list