View Single Post
Old 11-17-2011, 09:32 PM   #1
bobcdy
Fanatic
bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.
 
bobcdy's Avatar
 
Posts: 527
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
help with css tags

Often when dealing with a complexly formatted book, it's necessary to have many related tags in my css. For example, I might have

For line centering and spacing:
.centernormal, .centerbld, .centernospc, .centerspcbase, .centerspctop, .centerbig, .centersml

For paragraph indenting:
.noindent, .noindentnospc, .noindentspctop, etc

.indent5, .indent10, .indent15, .indent20 (where the amount is in %), etc.

Sometimes I find that all of the 'center' or indent tags don't work. Perhaps of the 7 centers, only 5 will actually work when checked with Adobe DE. Sometimes the problem is solved by relocating one or more tags to different locations within the css, but this sometimes doesn't work and I find it necessary to delete tags thus making the formatting more difficult.

I've assumed it has to do with a parent/child problem, but I don't really know nor do I know how to correct the problems. Can anyone help me with this?
bobcdy is offline   Reply With Quote