Jump to content

How to align "new row" to right top of table (pic inside)?


rain13
 Share

Recommended Posts

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:post-29208-0-83171600-1341601137_thumb.png

  <!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 by SoItBegins
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
 Share

×
×
  • Create New...