Login  Register

Re: maincss.css question

Posted by David E Jones on Jan 12, 2007; 10:03pm
URL: http://ofbiz.116.s1.nabble.com/maincss-css-question-tp176368p176372.html


Adrian,

I see, no problem. Yeah, it was a project started and never finished!

You'll probably also notice that there is still some table-based  
formatting on the productdetail page that is a bit evil (well, and  
ugly!) and needs to be converted to a CSS-based layout like much of  
the other stuff was.

-David


On Jan 12, 2007, at 2:56 PM, Adrian Crum wrote:

> David,
>
> Thanks for the reply! I understand completely what the ID attribute  
> is for. I was questioning why it was done differently than the rest  
> of the file.
>
>
> David E. Jones wrote:
>
>> This was part of the experimentation with the Zen CSS Garden way  
>> of  doing CSS. Using id attributes to mark regions and styling  
>> implicitly  is the way we want to go in the future. If you're  
>> planning on working  on CSS stuff and you haven't read through The  
>> Zen of CSS Design, I  highly recommend it. Really cool stuff.  
>> There is a link to the book  on the Docs & Books page on  
>> ofbiz.apache.org.
>> -David
>> On Jan 12, 2007, at 2:42 PM, Adrian Crum wrote:
>>> In the maincss.css file, Just below the comment
>>>
>>> /* ===== Product Detail Styles ===== */
>>>
>>> are six css classes defined using IDs instead of class names. Is  
>>> there a reason for that?
>>>
>>>