newcoder1010 Posted October 31, 2014 Share Posted October 31, 2014 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 More sharing options...
niche Posted October 31, 2014 Share Posted October 31, 2014 margins or padding depending on your taste. http://www.w3schools.com/css/css_boxmodel.asp Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now