Solved

HTML Table formatting question for ASP Application

Posted on 2007-04-02
4
167 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

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
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…

823 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