Jump to content

html table background image


newcoder1010

Recommended Posts

Hi,

I am trying to have a html table on a drupal block. Trying to do the below:

- Image as table background.- Image needs to be width = 930 and height = 450- Image cant be repeated.- Have a link tag on the bottom right corner of the table.

 

I have the below code. I have the background image. I have the a tag.

 

1. Height is working but not the width. 2. how to put the image on the bottom right corner.

 

 

<table width = "930px" height = "450px" style="background-repeat:no-repeat;" background="../sites/default/files/helpKids.png"><tr> <td> <a href="http://www.test.com">test</a> </td> </tr></table>

Thank you in advance.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...