[drupal-devel] css clear use

Bèr Kessels berdrupal at tiscali.be
Sat Oct 1 15:43:06 UTC 2005

Pat, it sounds you are quit new to drupal. This issue of drupal.css wanting to 
suit most users, yet annoying themers has lead to numerous enormous threads. 
There are issues, patches that clean the css out, completely, there are people 
that want to move drupal.css away completely and put the stuff in one or two 
core themes. There are people that think drupal.css could contain even more, 

So: welcome to Drupal. You happen to stumble upon a can of worms here. ;) 
My suggestion: remove drupal.css and put the css you need from there in your 
own style.css and live with that. See Civicspace theme for how to acheive 


On Saturday 01 October 2005 16:58, Pat Collins wrote:
> On Sat, 01 Oct 2005 16:55:17 +0200, Steven Wittens <steven at acko.net> wrote :
> > >I'm trying to develop a theme with floating css elements and there are
> > >several uses of clear in misc/drupal.css that are messing up my layout.
> > >Is there a particular programmatic reason the use of clear is
> > >superordinate to themes?
> > >
> > >I seem to have been able to override it in the theme css file, but aside
> > >from it being temporarily annoying to fix, it doesn't seem like I should
> > >have to override Drupal built-in css.
> Css stands for Cascading Style Sheets.  Making use of the cascading part is
> not a fix, but a feature.
> > It's much better to switch to a layout model that can actually handle
> > clears at arbitrary locations:
> http://www.positioniseverything.net/articles/sidepages/jello-piefecta-clean
> > By encasing each column in a floated div, you structurally separate
> > them, and they won't interfere with eachothers clears. This also has the
> > benefit of allowing source ordered columns.
> I looked at doing this, but found the css much to complicated for the
> average person to understand.
> Here is what I have know for a theme using floating divs:
> http://www.linuxcolumbus.com .   It is a modification of the phptemplate
> bluemarine theme.  Goal is to just see what I can do and to make it as
> simple as possible.  Comments welcome.
> Pat

More information about the drupal-devel mailing list