[Seaside] div clear-after [was: (no subject)]

Klaus D. Witzel klaus.witzel at cobss.com
Mon Sep 4 16:07:24 UTC 2006


For css, have you seen the discussion (incl. browser compatibility), and  
pointers to other material, at

- http://www.cs.hmc.edu/~mbrubeck/clear-after/

/Klaus

On Mon, 04 Sep 2006 17:40:26 +0200, Michael Roberts wrote:

> I've committed a change to the repository:
>
> "Name: Seaside2.6b1-mjr.77
> Author: mjr
> Time: 4 September 2006, 5:33:05 pm
> UUID: e800b6ad-cf6c-4ca5-a5ec-e2c1939f43a5
> Ancestors: Seaside2.6b1-pmm.76
>
> Attempts to fix a bug in the CSS of the halo header where the background  
> colour is not displayed.  It looks like the problem is that the outer  
> div has no height because the inner divs are floated left and right  
> respectively and there is no other content to provide height.  The hack  
> is to put a div in with a clear:both at the end of the div.  There is  
> probably a neater way to do this.  Only tested on Safari and Firefox.
>
> Also moved the rendering of the icons up the method since it seemed more  
> logical.
>
> If there is a better way of doing this then please improve!
>
> --Mike & Adrian"
>
>
> I'm not sure when this stopped working but I have seen it on and off.
>
> Comments, improvements, CSS experts all welcome.
>
> Cheers,
>
> Mike




More information about the Seaside mailing list