Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 1st, 2012  |  syntax: None  |  size: 0.57 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Is there any way to vertically justify text in HTML?
  2. <div class="text"><p>I am currently displaying text in an HTML table that is simply one large row and two columns...</div>
  3.  
  4. <div class="references">If "Side by Side" is your main criterion for choosing a table with just two columns...</div>
  5.        
  6. .text {
  7.     -webkit-column-count: 2;
  8.     -webkit-column-gap: 20px;
  9.     -webkit-column-rule: solid 1px #999;
  10. }
  11.  
  12. .references {
  13.     padding: 10px;
  14.     -webkit-column-count: 3;
  15.     -webkit-column-gap: 10px;
  16.     -webkit-column-rule: solid 1px #999;
  17.     border-top: solid 1px #999;
  18. }