Hi,
I've run into a little problem, I'm hoping someone can help me out. I'm
learning a bit of CSS through modifying my TikiWiki website
(www.tikiwiki.org) and this is the problem: whenever I'm adding a new
paragraph heading in my text through the editor (which is part of TikiWiki),
the 'titlebar' class is used to format this section. When I enclose a
hyperlink inside this paragraph heading, it overwrites part of the titlebar
class with the 'wiki' class. This leads to an undesirable effect: text in a
paragraph heading is white, but gets overwritten to black. I cannot change
the 'wiki' class, because normal text (thus outside a paragraph heading)
requires hyperlinks to be in black. The ideal solution would be something
along the lines of "when hyperlink is part of paragraph heading, do not use
the wiki class / use color: white". Is it possible to create such an IF
clause or is there another work-around? I'm afraid CSS is still a bit too
complex for me to comprehend and I don't think complex rewriting of TikiWiki
is part of my abilities either...
Regards,
WillemB
-----------------------------------
div.titlebar {
background-color: #9cba00;
color: white;
border: 1px solid #84aa00;
padding-left: 2px;
padding-right: 1px;
padding-top: 1px;
padding-bottom: 1px;
clear: both;
font-weight: bold;
}
.wiki {
color: black;
}
|