[pmwiki-users] 2.0.beta44 released, major new features and changes
H. Fox
haganfox at gmail.com
Mon Jul 11 17:59:03 CDT 2005
On 7/11/05, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Mon, Jul 11, 2005 at 10:52:41AM +0200, Thomas -Balu- Walter wrote:
> > On Sun, Jul 10, 2005 at 01:56:04PM -0500, Patrick R. Michaud wrote:
> > > PmWiki now sets CSS stylings so that all images within a page are
> > > displayed without a border (HTML's default is a 1-pixel border).
> >
> > As always I don't like adding such common CSS into the HTMLStylesFmt :).
> > IMHO it is the Skins work to define this.
Agreed, but there's a trade-off.
> Sure, but many skin designers don't understand or want to deal with
> CSS, and I'd rather not force it upon them.
Now it's easier on skin designers because you no longer need to
redefine $ImgTagFmt to get rid of the forced zero-pixel border
attribute. You can do it with CSS only now, which is an improvement.
Thanks.
Hagan
> I ended up putting
> the img CSS into the 'pmwiki' styles format, so a skin designer
> who wants to eliminate the default styling can easily do so
> via either
>
> $HTMLStylesFmt['pmwiki'] = ''; # turn off PmWiki's default styles
>
> or
>
> $HTMLStylesFmt = array(); # turn off all styles
More information about the pmwiki-users
mailing list