ez css complexity

Author Message

nigel dodd

Friday 25 August 2006 1:32:30 pm

I'd be grateful for the community's views on techniques for managing the complex css structure that comes out of the box with ezPublish.

Having invested much time on template code and getting the site to perform programatically how I want, I have recently turned my attention to the appearance. I am finding it surprisingly difficult because of the deeply nested styles and long style sheets.

Many of the styles in the style sheets are not used in my site. Should I remove unused ones to make finding the ones I want easier or will they come in useful later on? Should I concatenate the several style sheets to make searching easier?

I have found the different box model used by IE causes my attempt at fluid layout to break easily.

If I do the css design first then I would have to override and modify all the used templates to use my design scheme.

Similarly there are many award winning CSS designs in the public domain. Many of these look gorgeous and are robust across browsers. Mapping the ezPublish CSS onto these designs would, however, be a major exercise involving the editing of many template files.

What do people use to manage the CSS in their ezPublish sites?

Nigel Dodd

Softriva .com

Friday 25 August 2006 2:29:51 pm

For me, I started with a clean design. I laid down my main design until I got to the point

 <div id="MainContent">{$module_result.content}</div>

Note, that I am using my own css. I have only one css file. I keep adding to it as necessary.

This for public site. For the admin site, I am using the out of the css as is.

OOzy

Tim Dickinson

Friday 25 August 2006 3:26:04 pm

I just use the web developer extension for firefox to see what everything does.

I then have a css for my site design and change it as necessary.
I leave classes colors basically alone, but I tend to change a lot in site colors and my own design css.

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.