[pmwiki-users] problem with default CSS in a new skin

Patrick R. Michaud pmichaud at pobox.com
Thu Sep 13 09:22:03 CDT 2007


On Thu, Sep 13, 2007 at 09:18:48AM -0500, Patrick R. Michaud wrote:
> On Thu, Sep 13, 2007 at 04:35:36PM +0300, blues wrote:
> > 
> > in the default CSS for the history page in the class
> > ".difftype" there is defined "clear:both" which breaks
> > a skin that i am trying to design.
> > 
> > apart from the fact i can't understand why the
> > "clear:both" is there by default, 
> 
> The "clear:both" is there so that the next revision
> (if any) will begin any floating elements that may exist
> in the previous revision.

...er, the next revision (if any) will begin *after* any floating
elements that may exist in the previous revision.

To see why the clear:both is wanted, take a look at
http://www.pmwiki.org/wiki/Test/FloatDiff .

Pm



More information about the pmwiki-users mailing list