00034: HTMLStylesFmt

Summary: HTMLStylesFmt
Created: 2004-09-07 16:20
Status: Closed - fixed
Category: Feature
From: Balu
Assigned:
Priority: 2
Version: CVS
OS:

Description: I think the content of the $HTMLStylesFmt array should just include the CSS settings that are really reasonable defaults.

So "body { margin-left:20px; }" should probably be removed.

I wonder what to do with both a.createlink* definitions. They are reasonable, but changing appearance of links is probably the task for a skin developer?


I don't think that there is a problem with $HTMLStylesFmt. Just add your CSS after HeaderText in the template to overwrite rules in $HTMLStylesFmt:

 <head>
  <!--HeaderText-->

  <style type="text/css">
    @import url($PubDirUrl/skins/beeblebrox-gila/gila.css);
  </style>
 </head>

--thom


I think the problem is that CSS statements like "body { margin-left:20px; }" are fairly skin specific, and as such probably belong in the pmwiki.css file and not as a PmWiki default. I just haven't reviewed it all that closely since 0.6.1. :-) --Pm


Based on my initial installation experiences (which lead me to this page through SearchWiki), I find it very frustrating that any CSS settings are in place by default. Instead, I would much rather see a list of css elements which are generated by the WikiEngine, which can be "enabled" in the css file of our choosing. --Brian?