Solved

HTML Table formatting question for ASP Application

Posted on 2007-04-02
4
168 Views
Last Modified: 2010-05-18
I need some help with some HTML tables that I'm building in an ASP application.  I essentially tried to create a navigation menu within my webpage using nested tables.  So, the first column of my big table contains a nested table that will have several buttons to take the user to other pages.  Looks something like this:

Column A  |  Column B
-------------|--------------
Button1     |  Data
Button2     |  More Data
Button3     |  Still More Data

So, Column A actually contains a nested table within which I am placing each button in each row.  The impotrtant thing to note is that each button is actually an image that I'm using as a form submit button.  So, each cell within this nested table essentially contains a form (which needs no inputs).  

The problem I am facing comes up in formatting this table.  The form submit buttons seem to always have an extra space in between each other.  I'm not sure how to get rid of these spaces between each button and if I were to leave it as is, the page looks funny.  How do bring these buttons closer together (i.e. remove the vertical spacing between them)?  I really wish I could attach a screenshot to show you exactly what I mean....

Thanks all for your help!
0
Comment
Question by:sviriyal
  • 2
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
stejam earned 125 total points
ID: 18839779
Have you tried using CSS to set the margin on the form tag to zero? Also you could set the img tag margin to zero as well. That may work.
0
 

Author Comment

by:sviriyal
ID: 18839845
How do I set the img tag margin to zero?  I'm don't think I have ever seen that property before...
0
 

Author Comment

by:sviriyal
ID: 18839860
Don't worry about my last response.  That worked like a charm!!!!  Thanks a lot for your help!
0
 
LVL 3

Expert Comment

by:stejam
ID: 18839899
No worries, good luck on your project
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question