[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 340
  • Last Modified:

How to get the button closer?

Hello group,

In an HTML file I'm trying to use three buttons. However, due to having space between them I put them in a table as following but still the space or  gap exists between each two buttons. I'm new to web development and have found HTML so tricky. Can somebody tell me what to do?

Thanks,
ak


<table  border="1">
<tr><td>
<input style="margin-left:100px;" type="button" onclick="document.setLocation('http://....)" value="Next" class="inputsubmit" />	
</td><td >
<input style="margin-left:100px;" type="button" onclick="document.setLocation('http://....')" value="Back" class="inputsubmit" />	
</td><td>
<input style="margin-left:100px;" type="button" onclick="document.setLocation('http://....')" value="Add to library" class="inputsubmit" />
</td></tr>
</table>

Open in new window

0
akohan
Asked:
akohan
2 Solutions
 
pwrBallCommented:
Try changing your initial table tag:
<table cellpadding="0" cellspacing="0" border="0">
0
 
scrathcyboyCommented:
you should also apply styles to the buttons, as in CSS --
www.webreference.com/programming/css_stylish/ -- search that page for the button section

this way you can get the buttons with no borders, and the text right to the edges of the buttons
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now