<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I want to override the styles,<br>
which is difficult to do if they are the last in the cascade.<br>
<br>
I recommend that everyone who creates their own pmwiki.css<br>
'''does not'''<br>
copy the base pmwiki.css,<br>
rather they create an empty .css file and have as the first line<br>
@import url("/pmwiki/pub/skins/pmwiki/pmwiki.css");<br>
and then add or change what they want.<br>
<br>
thanks<br>
<br>
Simon<br>
<br>
PS rfloat, rframe, are really excellent, they work far better than the
old right and align=right, and having captions built in is brilliant -
thanks Patrick<br>
<br>
Patrick R. Michaud wrote:
<blockquote cite="mid20050808182317.GN19042@host.pmichaud.com"
type="cite">
<pre wrap="">On Mon, Aug 08, 2005 at 07:44:28PM +1200, Simon wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Could the classes "frame" "lfloat" and "rfloat" currently included in
the wiki page
be moved to pmwiki.css
.frame
{ border:1px solid #cccccc; padding:4px; background-color:#f9f9f9; }
.lfloat { float:left; margin-right:0.5em; }
.rfloat { float:right; margin-left:0.5em; }
</pre>
</blockquote>
<pre wrap=""><!---->
Why? I don't want to require every skin designer to have to
duplicate these settings in a .css file for what is PmWiki basic
functionality.
One can disable these settings by using
$HTMLStylesFmt['wikistyles'] = '';
One can disable all of the custom style outputs by using
$HTMLHeaderFmt['styles'] = array();
Pm
</pre>
</blockquote>
</body>
</html>