View Single Post
Old 02-21-2014, 02:54 PM   #9
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,309
Karma: 4898871
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by mrmikel View Post
I have never liked tables. It is so hard to keep from blowing them up.
Yep, but the solution is not to fake the table with CSS, but to lay things out differently:

Code:
<div class="table">
<p>Ordnance and ordnance stores: <span class="amount">$45,000,000</span></p>
<p>Aircraft and aeronautical material: <span class="amount">$29,775,000</span></p>
...
</div>
where you'd probably have some specific margins and indents in "div.table p". In "span.amount" you could include something like:

Code:
span.amount {
  display: block;
  text-align: right;
  font-weight: bold;
}
Jellby is offline   Reply With Quote