Check if your wikitext source doesn't start with the markup %black% or
%color=black%:
%black% ... PageText ...
If not, and if this happens on more than one line, some of your custom
markups, recipes or skins may have modified the "paragraph" markup.
Remove them one after another and every time check the wiki to see if at
some point the <span> element disappears.
Petko
On 2015-04-02 10:14, Steven Leite wrote:
I'm puzzled about something. In my HTML I have a simple <div>. I have
the
<div> styled such that *background-color:* *black;* which works just
fine.
The problem is, when the <!--PageText--> get's rendered, the page text
doesn't show up - it appears to be invisible.
When I inspect the element in Chrome, I see that the following code is
being introduced in to my template (ignore the <pre> </pre> tags):
<pre>
<div id = 'wikitext'>
<p><span style='color: black;'> ... Page Text ... </span></p>
<div class='vspace'></div>
</div>
</pre>
I never specified this, and it's not the desired effect. If I try to
adjust my font color to be white by changing 'wikitext' in the
pmwiki.css
file it has no effect since the span style is over-riding it.
1. How can I fix this?
2. Assuming that I haven't done something to mess this up, would it
not be
better to make the default behaviour for PmWiki to not set the font
color?
It should be left up to the browser's default, or the user in my
opinion.
_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel