How can I valign the google ad? Right now I am using: #google { height: 50px; border-bottom: 1px dotted #bbb; text-align:right; vertical-align: middle; } but it still appears on top. Thanks!
if you want to center it just use <div style="text-align: center;">google code</div> in your css : text-align: center;
Thanks. No, what I need to do is have a Google text ad aligned on the right side of an image (just like your picture and user name above) Right now the ad appears aligned on the right top side of the image, not in the middle, so there is a lot of white space below it...
for that you make div for picture like that <div style="float: left;"><img src="http://picture"></div>and then your ad code !!!
<div style="float: left;"><img src="path_to_your_image"></div> <script type="text/javascript"><!-- google_ad_client = "XXXXXXXXXXXX"; ................... ............................. This works 100% !!