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

Patrick R. Michaud pmichaud at pobox.com
Thu Sep 13 09:18:48 CDT 2007


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.

> i thought that putting
> a new definition for the class ".difftype" in the
> php file of the skin (eg. myskin.php) would override it:
> 
> $HTMLStylesFmt['diff'] = "
>    [...cut...]
>    .difftype { font-family:verdana,sans-serif; font-size:66%;  
> font-weight:bold; }
>    [...cut...]
>    ";
> 
> well... it doesn't. in the resulting HTML the default
> is still there.

Is $HTMLStylesFmt declared as global in the myskin.php file?

Pm




More information about the pmwiki-users mailing list