Thread: # in css?
View Single Post
Old 12-30-2024, 03:36 PM   #4
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,648
Karma: 169712392
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by foosion View Post
When I search the text (xhtml) files I don't find any of the # selectors. Does that mean for this book they are useless? Am I missing something?
You would need to look at the IDs matching what is after the #.

i.e. <p id="book-content">

If you saw something like:

#green {
color: green;
}

that would match an ID such as <span id="green"> and display the text to the ending </span> with a green text.
DNSB is offline   Reply With Quote