css - How to vertically align text within a table cell? -


i working on baseball scores website. have got head-to-head matchups table conference games.

the home teams in table horizontally. away teams (like below) in table cell vertically.

the name mississippi state makes table cell long top bottom. how alabama , auburn align bottom of table cell?

i using html 5. placing valign="bottom" won't work html 5.

<td> a<br> l<br> a<br> b<br> a<br> m<br> a<br> </td>  <td> a<br> u<br> b<br> u<br> r<br> n<br> </td>  <td> m<br> i<br> s<br> s<br> i<br> s<br> s<br> i<br> p<br> p<br> i<br>  <br> s<br> t<br> a<br> t<br> e<br>  </td> 

-------- edit ------ here's page working on: http://www.hitsnruns.com/pages/matchups/matchups.php

-------- edit 3/30/16 ------- got figured out: http://www.hitsnruns.com/2016/head-to-head-matchups/southeastern-conference/ looped through each of team names , enclosed each letter in

tag.

unfortunately dont understand request completely. fiddle? maybe looking this? tests fiddle

my setup: html:

<div><p>alabama</p></div> 

and css:

div {   width: 10px;   word-wrap: break-word; } 

maybe use table.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -