Thread: Help with CSS
View Single Post
Old 01-21-2014, 01:44 AM   #8
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by Hitch View Post
Joshua:

Really--you don't need that many stylesheets. It probably means you have a ton of duplicated and unneeded styles, which can cause issues with some readers. If you need that type of segregation, use comments in your Stylesheet to separate out the sections (we do that), for each section of the book, but having a new stylesheet for each page/piece is really overkill.

Hitch
Does it really make a difference whether the css is in commented blocks vs separate stylesheets? Assuming it is the same css either way. Lets say you have your special titlepage css in titlepage.css, and special story css in story.css, then link each to the appropriate page(s). It would achieve the same goal, with arguably variable efficiency in conveying the meaning of what you are trying to do.

I assume the main objective is to make sure that the same styles are not repeated on multiple stylesheets (if the different sections share identical css), nor that heaven forbid the same stylesheet is duplicated for each page.
eschwartz is offline   Reply With Quote