
Originally Posted by
jscheuer1
Code:
<div style="display: inline-block;">John Doe<br>Age: 23<br> . . . </div>
FYI - That works for IE8+, FF, Opera, Safari and Chrome but it's a jumbled mess for IE7 users. The table method did not work well with IE7 either. Internet Explorer strikes again!
I added some rather peculiar CSS for IE7 since it does not support 'inline-block':
Code:
<div style="display: inline-block; zoom:1; *display: inline; _height: 30px;">John Doe<br>Age: 23<br> . . . </div>
Apparently, only IE7 recognizes the added CSS and all other browsers ignore it.
Bookmarks