First of all, is it ok if I ask what specifically you didn't like about the
TabContainer (listed as Tabs) control from the ASP.NET AJAX Control Toolkit
(
http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/Tabs/Tabs.aspx)? But
anyway, I enjoy writing code too, so I guess it can be tempting to write
your own, so here are some possible guesses as to the reason for your space
between the menu options (I haven't seen the code, so I can only guess):
1. Check the css, specifically the margin, padding, and border-width
properties.
2. Some browsers are more sensitive to spaces between tags than they should
be (even though html shouldn't be affected by whether or not there is any
space between tags, sometimes it has an effect in some browsers that is hard
to notice, but sometimes makes a difference for precision placement). See if
removing any extra whitespace in your aspx source code makes any difference.
When you say "using a menu", do you mean using the ASP.NET Menu Control, or
do you just mean you created a menu? If you mean the Menu Control, I would
suggest looking at the generated html to see exactly what html you are
playing with. Sometimes during design I find it useful to use a tool that
lets you view and edit the css directly in the browser. IE has the Internet
Explorer Developer Toolkit available, IE8 has the Developer Tools built in,
and I believe Firefox has something called Firebug. I may be able to help
you more if I see some of your code, but I would really like to know
specifically what you didn't like about the one from the ASP.NET AJAX
Control Toolkit (sometimes there is an easy way to get what you want that
you just haven't discovered yet). Good Luck!