View Single Post
Old 12-11-2012, 08:55 AM   #21
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,086
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Code:
<p class="MsoToc"><a class="pcalibre pcalibre1" id="toc">CONTENTS</a></p>
Your example above shows how you can legally nest and 'stack' styles:

MsoToc sets the overall
pcalibre (probably) sets the basic anchor
pcalibre1 (probably) tweaks the previous


If pcalibre1 ONLY is used with anchors:

Code:
.pcalibre1 {
font-style: italic;
text-decoration: none;
}
would modify the pcaliber class by making these italic AND no text-decoration.

all other anchors (a) are normal

IMHO if you are making ALL usages of pcalibre also with pcalibre1, then pcalibre should be changed... the code is simpler to follow and maintain
theducks is offline   Reply With Quote