[pmwiki-users] Skin question: how can I tell what css pmwiki is using by default?

Peter Kay petya_98 at yahoo.com
Fri Aug 3 20:28:43 CDT 2007


DaveG wrote:
>> $HTMLStylesFmt['pwiki'], ['diff'], etc.
>>
>> Is there some way I can see what pmwiki uses as a default for each of 
>> these??  These are all php variables...I'm not sure there's a way to 
>> display these in the wiki; am I wrong?
> They all get rendered as CSS when you view the site. If I recal 
> correctly they get put in the HEADer. So simply looking at the source 
> HTML of a wiki should get you the description of the CSS.

Unfortunately, all the css gets lumped together in the HTM.  It doesn't 
seem possible to tell which part of the css comes from 
$HTMLStylesFmt['pmwiki'], which part from $HTMLStylesFmt['markup'], and 
so on.

I don't want to remove all the pmwiki default formatting, just enough to 
  change some things.  However, I need to know which $HTMLStylesFmts to 
change.

I suppose I could just blow them away 1 at a time and see what changes, 
but that's not exactly elegent.

> Alternately, if you're developing a skin and you use Firefox, you should 
> take a look at Firebug, which allows you to examine the complete css 
> applied to specific dom elements on the page, and to change them 
> dynamically. Saves a huge amount of time.

Is this better then the css-editor that was around a while ago?  I'll 
take a look at it.

--Peter




More information about the pmwiki-users mailing list