View Single Post
Old 10-04-2010, 04:39 AM   #10
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
I played around on this a while back on my 505 and came up with this:

html:
Code:
  <div class="ruleclass">
    <hr />
  </div>
Stylesheet:
Code:
.ruleclass {
    margin-left: 5em;
    margin-right: 5em;
    }
hr {
   height: 3px;
   background:#505050;
   }
The hr styles are optional, the centering was accomplished by using the div. I'm sure there are alternate ways to do it, but I do recall arriving at that solution through trial and error, not sure what the specific failures were.

Last edited by ldolse; 10-04-2010 at 04:42 AM.
ldolse is offline   Reply With Quote