View Single Post
Old 11-19-2011, 09:52 PM   #9
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
Dale De,
No, at least I don't think so, if you mean something like: .indent, center, bold {etc}

Almost all of my classes are defined with the .center rather than p.center for example. It seems like rather than defining a tag so that I'd need a div.center and a p.center, the .center is most flexible. Thus I have

.centernospc {display: block; font-weight: normal; text-align: center; margin-top: 0; margin-bottom: 0; }

.centerbldspc {etc}

.centerspc {etc}

.indentspcbase {display: block; font-weight: normal; text-align: justify; margin-left: 2em; margin-top: 0; margin-bottom: 1em;}

I would then use these classes in the xhtml text as follows:

<p class="centerbldspc">This is a Headline</p>

Perhaps I don't really understand your question - as you probably have guessed, I'm not really much of an expert on css and html classes beyond doing what seems to work (most of the time) and using many MR epubs as examples to emulate.

Last edited by bobcdy; 11-21-2011 at 11:37 AM.
bobcdy is offline   Reply With Quote