Solved

HTML Table formatting question for ASP Application

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Bootstrap 3 with accordion menu 2 46
Bootstrap 3 website error 14 47
How to Left-Align Navigation bar? 4 14
bootstrap footer centering and expand problems 7 30
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now