I'm trying pretty hard to move away from table to position items on my website, and I'm having a problem I hope someone can help with.
I'm trying to position an image to the left with words to the right. Currently, I have code that looks like...
Setting the vertical alignment seems to have no effect on the way the page is rendered. Obviously, I'm missing something here, but what.
-George
Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
I'm trying to position an image to the left with words to the right. Currently, I have code that looks like...
Code:
<div style="float:left; padding-left:20px;">
<img src="image.png" alt="alt tag" style="width: 84px; height: 68px;"/>
</div>
<div style="text-align:left; [!]vertical-align:middle;[/!]">
This is the text.
</div>
Setting the vertical alignment seems to have no effect on the way the page is rendered. Obviously, I'm missing something here, but what.
-George
Strong and bitter words indicate a weak cause. - Fortune cookie wisdom