473,322 Members | 1,736 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

aspmenu control inside html table don't fit well.

dotneto
36
Hi, i have something like this in a page:

<table style="height: 46px">
<tr>
<td style="width: 19px; height: 57px" colspan="" valign="bottom">
&nbsp;&nbsp;<asp:Menu ID="Menu1" runat="server" BorderStyle="None" Height="4px" MaximumDynamicDisplayLevels="1"
OnMenuItemClick="Menu1_MenuItemClick" Orientation="Horizontal" StaticEnableDefaultPopOutImage="False" Width="216px">
<Items>
<asp:MenuItem ImageUrl="~/images/tab_invoicesummary.gif" Text=" " Value="0"></asp:MenuItem>
<asp:MenuItem ImageUrl="~/images/tab_myaccount.gif" Text=" " Value="1"></asp:MenuItem>
<asp:MenuItem ImageUrl="~/images/tab_myvendors.gif" Text=" " Value="2"></asp:MenuItem>
<asp:MenuItem ImageUrl="~/images/tab_helpfulHints.gif" Text=" " Value="3"></asp:MenuItem>
</Items>
</asp:Menu>
</td>
</tr>
</table>


I have tried everything but the menu cannot be aligned in the very bottom of the cell, there is always a little space between the menu and the bottom of the cell. And of course i need it in the bottom. I have seen this behavior with other server controls too.

Any idea?
May 29 '07 #1
1 1441
dotneto
36
Hi,
Well, i found that the problem is that my menu is taking some style from the stylesheet defined for the page.
Does anyone knows how to make that an specific element in the page have a different style than the defined in the css?
The menu have links but i don't want them to be shown as links, but that style is defined in the page stylesheet.
May 31 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

19
by: Dales | last post by:
I have a custom control that builds what we refer to as "Formlets" around some content in a page. These are basically content "wrapper" sections that are tables that have a colored header and...
0
by: John Crowley | last post by:
I keep running into this over and over again... I want a block server control that renders a header and footer, and child controls in between. But I don't want a templated control, for the...
8
by: fernandezr | last post by:
I would like to use a user control as a template inside a repeater. Some of the fields in the control should be hidden depending on whether or not there is data. I'm still a ASP .Net newbie so the...
1
by: =?Utf-8?B?KioqKiBLaXRlT3JlZ29uICoqKio=?= | last post by:
I have a page with an aspMenu, i am able to handle the menuItem_click event, however once i handle the event how do i make the page navigate? so how do i make the aspMenu control navigate to a...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.