Quote:
Originally Posted by Turtle91
I was just testing this in Sigil...I don't know if it's a QT bug or not but it didn't seem to work as expected. I had the following CSS/HTML:
div.fluff p {text-align:justify; font-style:italic}
p.att {text-align:right; font-style:normal}
<div class="fluff">
<p>Stuff, stuff, and more stuff.</p>
<p>Stuff, stuff, and more stuff.</p>
<p>Stuff, stuff, and more stuff.</p>
<p class="att">Should be normal and right aligned</p>
<p>Stuff, stuff, and more stuff.</p>
<p>Stuff, stuff, and more stuff.</p>
<p>Stuff, stuff, and more stuff.</p>
<p class="att">Should be normal and right aligned</p>
</div>
Neither the right align of the font style normal were applied in the "att" class unless I used the !important tag in the "att" declaration.
Anyone seen this before?
|
I'm not sure why that's doing that, but I'd suggest changing
div.fluff p {text-align:justify; font-style:italic}
to
div.fluff {text-align:justify; font-style:italic}
there's no need to specify the p — they inherit from the div anyway.