View Single Post
Old 12-10-2012, 09:11 PM   #16
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,114
Karma: 60406498
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 Ripplinger View Post
I wanted to try this out and like Andy Sinden, was failing horribly. I put that line into every single style in my stylesheet.css and still had underscores.

Then I added this at the top of the TOC page only within <style> and </style> and it works:
a { text-decoration:none }

It's getting the underscore not from the style text but from the a in <a href...>. You could do it also adding a { text-decoration:none } to your stylesheet.css file as well and it will work (don't put the usual period before the a if you add it to your stylesheet, it won't work).
a, h1,p, div... are tags. They don't get a period, only class selectors get them.

p.foo means ONLY P tags with a class of foo
this would not apply to div class="foo"

whereas a simple .foo would apply to both
theducks is offline   Reply With Quote