Attached is the image (highlighted to let clarify), beneath is the code I am using. WTF is going on?
<td background='" . $root . "images/head1.gif' width='200' valign='top'>Figure<img src='" . $root . "images/headarrow.gif'></td>
Attached is the image (highlighted to let clarify), beneath is the code I am using. WTF is going on?
<td background='" . $root . "images/head1.gif' width='200' valign='top'>Figure<img src='" . $root . "images/headarrow.gif'></td>
Add a css class for that cell specififying the location of the text. Something like:
vertical-align: middle;
I think that might do it.
BTW, I take it thats PHP code there. Why do you use $root to specify the path? Is it just that the page is a lot of folders deep or something?
Thanks Ludge but it didn't work. I tried all properties of vertical-align and it keeps showing up the same.
I just made a table inside and two table cells, it's lined up alright now.
Yeah, it's PHP. I am using a variable to get the root directory because I don't know how to tell PHP to go to the root. And I'm too lazy to look it up.
You could always try using the position: absolute; way. Or give a relative position in minus figures. Thats helped me out a couple of time.