I have a div that spans 720px and is 59px high, I have a image that is left aligned and 59x59, I then have a text piece "Website Name" that I want to be set to 9px from the right edge of the image and centered in the div height wise.
In a table I would have just set the v-align, but that does not seem to be working for this.
I am stuck. :) probably need more caffiene.
Can someone point me in the right direction to get this set up the way I want?
<div id="container"> <div id="text"> Text here </div> </div>
I got the 18px by doing 59/2 - an estimation of the font size (if it is fixed (px) you can just use that value). So 59/2 - 12 = 17.5, round up to 18. This would really only work for a fixed layout though...