rain13 Posted July 6, 2012 Share Posted July 6, 2012 (edited) I am having problem with "new row" . I want it to be right top of table. Current problem is that it goes too far from table. I want it to be aligned so that it's right side would be as far as table's right side. I can't put it inside table because then I get border around "new row" too. I only want border to be around table. Here's image shows how i want that "button" to be placed: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head> <meta content="text/html; charset=ISO-8859-1"http-equiv="content-type"> <title></title></head><body><div style="text-align: right;">new row<br></div><table style="text-align: left;" border="1" cellpadding="2" cellspacing="2"> <tbody> <tr> <td>a</td> <td>b</td> <td>c</td> </tr> <tr> <td>d</td> <td>e</td> <td>f</td> </tr> </tbody></table><br></body></html> Edited July 7, 2012 by SoItBegins Link to comment Share on other sites More sharing options...
rain13 Posted July 11, 2012 Author Share Posted July 11, 2012 So it's either impossible or no one here knows how to do it? Link to comment Share on other sites More sharing options...
dsonesuk Posted July 11, 2012 Share Posted July 11, 2012 Place current table within another tables second row that has colspan="5", the first row will have 5 cells the button can be placed in right cell, and this outer table border will be set to zero. 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