View Single Post
Old 03-06-2010, 10:48 AM   #18
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,060
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by KNotTed View Post
Yeah, most browsers also accept <hr style="text-align: center" />, but it's not standard CSS/XHTML. Using the auto margins is the correct way, but as Jellby pointed out, ADE doesn't seem to support that.

To create a separator with asterisks that has space above and below, you could do <p style="margin: 1.0em 0;">*&nbsp;*&nbsp;*</p>, which would give you the spacing without needing <p>&nbsp;</p>

I had reasons for wanting to use a fixed width, but since it's not supported, I'm not going to worry about it too much.
But if you use 1.0em, then the spacing does change if you change the size of the font. If you want a fixed amount of spacing, use px as in 20px.
JSWolf is offline   Reply With Quote