[drupal-devel] css clear use
chris.messina at gmail.com
Sun Oct 2 00:50:37 UTC 2005
I would call it a hornet's nest, but to each their own. ;)
Pat, David, if you download the CivicSpace theme, you can use my
foundation XHTML and layout.css files to achieve source-ordered 1, 2
and 3 column layouts that work across all browsers and allow clears.
The CSS is soup, but it'll save you the thousands of hours it took me
to debug this stuff.
On 10/1/05, Bèr Kessels <berdrupal at tiscali.be> wrote:
> 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