Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

macaddict23

macrumors 6502
Original poster
Jun 20, 2006
382
1
MacVille, USA
These two elements have different heights and currently align at the baseline. I don't want that. What I want is for them to align horizontally. Thanks!
 
i'm pretty sure this code isn't W3C compliant, but i know it works... so maybe you might be able to use something like this:

Code:
<table width="100%" height="100%" border="0">
<div>
<tr>
<td>content</td>
</tr>
</div>
</table>
 
Can you elaborate on the situation? It's hard to figure out what you're wanting. If you have some sample HTML that you're dealing with that would be helpful in understanding.
 
Use the CSS vertical-align: middle property. Should work fine for what you seem to be trying to do.

jW
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.