Solved

HTML Table formatting question for ASP Application

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…

759 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