[Pmwiki-users] Marathon Skin Problem

Patrick R. Michaud pmichaud
Thu Jan 13 12:00:27 CST 2005


On Wed, Jan 12, 2005 at 10:23:28AM +0100, Steffen Bauch wrote:
> There is a problem with the clear:both statement in the .diffrestore and 
> .difftype CSS class inlined by the pagerev.php when calling a page 
> history like
> 
> http://www.pmwiki.org/wiki/Cookbook/MarathonSkin?action=diff
> 
> This affects all browserengines on OS X (gecko, ie, khtml, opera), and 
> IE on Windows.
> 
> Why is the clear:both statement in the inline-css? Pm, can you remove it 
> there?

The clear:both statement is there because without it any floating items 
in the page's revision history (e.g., floating images or tables) will 
then float outside of the associated revision box.  The restore link
and start of the next box normally should start below any of these
floating items.

You could work around this by overriding the default "clear:both" with
a "clear:none" for those CSS classes in the $HTMLStylesFmt[] array
(perhaps also adding !important).

Pm



More information about the pmwiki-users mailing list