View Single Post
Old 03-22-2013, 07:08 PM   #6
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: 30,908
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Turtle91 View Post
Just wondering...I haven't tried before...can you define a class with an element that is already reserved??

.b {font-weight:bold}

when <b> is already reserved??


If it were me, I would do a S/R:
Search: <span class="b">(.*?)</span>
Replace: <strong>\1</strong>

with:
strong {font-weight:bold}

That way you keep styling out of the document and in the css, and you don't need to bloat it with extra <spans>.

Please let us know if you find the problem.

Cheers,
dot b is not b
theducks is offline   Reply With Quote