Click here to Skip to main content
14,697,992 members
Home » Discussions » ASP.NET
   

ASP.NET

 
QuestionWeb Deployment Project: Missing Reference? Pin
Diving Flo18-Mar-10 11:14
MemberDiving Flo18-Mar-10 11:14 
AnswerRe: Web Deployment Project: Missing Reference? Pin
Diving Flo22-Mar-10 5:17
MemberDiving Flo22-Mar-10 5:17 
QuestionAjax Validation with ASP.NET Pin
Morgs Morgan18-Mar-10 4:15
MemberMorgs Morgan18-Mar-10 4:15 
AnswerRe: Ajax Validation with ASP.NET Pin
Not Active18-Mar-10 4:21
mentorNot Active18-Mar-10 4:21 
GeneralRe: Ajax Validation with ASP.NET Pin
Morgs Morgan18-Mar-10 4:47
MemberMorgs Morgan18-Mar-10 4:47 
GeneralRe: Ajax Validation with ASP.NET Pin
Not Active18-Mar-10 4:57
mentorNot Active18-Mar-10 4:57 
AnswerRe: Ajax Validation with ASP.NET Pin
mrMercury18-Mar-10 5:20
MembermrMercury18-Mar-10 5:20 
QuestionVertical CSS Menu in ASP.NET Pin
MWRivera18-Mar-10 4:12
MemberMWRivera18-Mar-10 4:12 
Hi All,

I'm creating a web application in ASP.NET and c#. What I'm trying to do is create a vertical menu similar to the blue one in this link:
http://www.alistapart.com/articles/taminglists/

I've created these menus in the past but in just a plain HTML page not ASP.NET. When I try to apply the same format to the unorder list the look isn't the same so I was trying to create it using LinkButtons like so:

<span class="subMenuDiv">
        <asp:LinkButton ID="link1" runat="server" CssClass="subMenu" Text="Case Info"></asp:LinkButton>
        <asp:LinkButton ID="link2" runat="server" CssClass="subMenu" Text="Reportable Info"></asp:LinkButton>
    </span>


The CSS looks like this:

.subMenuDiv {  
float: right;  
width: 120px;  
padding: 0 0 0 0;  
border: none;  
margin: 0;}

.subMenu  {  
width: 100%;  
margin: 0;  
padding: 4px 10px 4px 10px;  
text-decoration: none;  
background-color: #CCCC99;  
border: solid 1px black;  
color: #666633;  
text-align: left;}


The problem I'm having is the border of the subMenu is showing up twice, i'm not sure why but I know the padding is linked to it.

How do I get it so the border only shows on the outer edge of the linkButtons (subMenu items) and so only one border is shown?

Any help would be great.
Thanks
AnswerRepost Pin
Not Active18-Mar-10 4:19
mentorNot Active18-Mar-10 4:19 
GeneralRe: Repost Pin
MWRivera18-Mar-10 4:22
MemberMWRivera18-Mar-10 4:22 
GeneralRe: Repost Pin
Not Active18-Mar-10 4:27
mentorNot Active18-Mar-10 4:27 
GeneralRe: Repost Pin
chengclq18-Mar-10 18:36
Memberchengclq18-Mar-10 18:36 
QuestionHow to store DateTime in database am using following code. Pin
shiva.kore18-Mar-10 3:53
Membershiva.kore18-Mar-10 3:53 
AnswerRe: How to store DateTime in database am using following code. Pin
Not Active18-Mar-10 4:00
mentorNot Active18-Mar-10 4:00 
AnswerRe: How to store DateTime in database am using following code. Pin
Gaurav Dudeja India18-Mar-10 23:51
MemberGaurav Dudeja India18-Mar-10 23:51 
AnswerRe: How to store DateTime in database am using following code. Pin
padmanabhan N19-Mar-10 2:06
Memberpadmanabhan N19-Mar-10 2:06 
QuestionRefresh button resubmitting data - How to prevent this? Pin
pramodgorityala18-Mar-10 3:20
Memberpramodgorityala18-Mar-10 3:20 
AnswerRe: Refresh button resubmitting data - How to prevent this? Pin
Not Active18-Mar-10 3:49
mentorNot Active18-Mar-10 3:49 
GeneralRe: Refresh button resubmitting data - How to prevent this? Pin
pramodgorityala18-Mar-10 3:57
Memberpramodgorityala18-Mar-10 3:57 
GeneralRe: Refresh button resubmitting data - How to prevent this? Pin
Not Active18-Mar-10 4:02
mentorNot Active18-Mar-10 4:02 
GeneralRe: Refresh button resubmitting data - How to prevent this? Pin
pramodgorityala18-Mar-10 4:23
Memberpramodgorityala18-Mar-10 4:23 
GeneralRe: Refresh button resubmitting data - How to prevent this? Pin
Not Active18-Mar-10 4:29
mentorNot Active18-Mar-10 4:29 
GeneralRe: Refresh button resubmitting data - How to prevent this? Pin
T M Gray18-Mar-10 9:36
MemberT M Gray18-Mar-10 9:36 
GeneralRe: Refresh button resubmitting data - How to prevent this? Pin
Not Active18-Mar-10 9:58
mentorNot Active18-Mar-10 9:58 
GeneralRe: Refresh button resubmitting data - How to prevent this? Pin
T M Gray18-Mar-10 11:05
MemberT M Gray18-Mar-10 11:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.