HTML - aligning a background image to the right

Associate
Joined
8 Mar 2007
Posts
2,176
Location
between here and there
hey guys,

I'm having trouble aligning a background image to the right hand side of a table cell.

Code:
      <td class="XSP_RIGHT_PANEL_SPC" id="XSP_RIGHT_PANEL_SPC"
 style="background-image: url(Messagebody.jpg); height: 99px;">
      <div style="text-align: center;"><br>
      </div>
      </td>

Since I'm very new to HTML I'm hoping someone smarter than me can point out where I'm going wrong.

Cheers in advance guys.
 
sadly it doesn't seem to like the "top right;" part.

Every-time I add that part in it fails to display anything at all.

Also, I've been looking about and couldn't find that attribute listed anywhere.

any more ideas??
 
Back
Top Bottom