Click here to Skip to main content
15,898,134 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Dns.Resolve does not work occasionally Pin
AmitDey17-Mar-10 21:28
AmitDey17-Mar-10 21:28 
AnswerRe: Dns.Resolve does not work occasionally Pin
Som Shekhar17-Mar-10 22:41
Som Shekhar17-Mar-10 22:41 
AnswerRe: Dns.Resolve does not work occasionally Pin
leppie21-Mar-10 19:45
leppie21-Mar-10 19:45 
QuestionRuns a process at a time of day, on Sever Application Pin
DavidRRR17-Mar-10 14:39
DavidRRR17-Mar-10 14:39 
AnswerRe: Runs a process at a time of day, on Sever Application Pin
Dave Kreskowiak17-Mar-10 15:42
mveDave Kreskowiak17-Mar-10 15:42 
AnswerRe: Runs a process at a time of day, on Sever Application Pin
Super Lloyd17-Mar-10 15:56
Super Lloyd17-Mar-10 15:56 
AnswerRe: Runs a process at a time of day, on Sever Application Pin
Not Active17-Mar-10 17:35
mentorNot Active17-Mar-10 17:35 
QuestionVertical CSS Menu in ASP.NET Pin
MWRivera17-Mar-10 10:44
MWRivera17-Mar-10 10:44 
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
AnswerRe: Vertical CSS Menu in ASP.NET Pin
Richard MacCutchan17-Mar-10 12:10
mveRichard MacCutchan17-Mar-10 12:10 
GeneralRe: Vertical CSS Menu in ASP.NET Pin
MWRivera18-Mar-10 3:23
MWRivera18-Mar-10 3:23 
AnswerRe: Vertical CSS Menu in ASP.NET Pin
Gregory Gadow17-Mar-10 12:11
Gregory Gadow17-Mar-10 12:11 
QuestionSetting Name property in custom control Pin
Gregory Gadow17-Mar-10 8:04
Gregory Gadow17-Mar-10 8:04 
AnswerRe: Setting Name property in custom control Pin
Som Shekhar17-Mar-10 8:54
Som Shekhar17-Mar-10 8:54 
GeneralRe: Setting Name property in custom control Pin
Gregory Gadow17-Mar-10 9:01
Gregory Gadow17-Mar-10 9:01 
GeneralRe: Setting Name property in custom control Pin
Som Shekhar17-Mar-10 9:05
Som Shekhar17-Mar-10 9:05 
GeneralRe: Setting Name property in custom control Pin
Som Shekhar17-Mar-10 9:06
Som Shekhar17-Mar-10 9:06 
GeneralRe: Setting Name property in custom control Pin
Luc Pattyn17-Mar-10 9:09
sitebuilderLuc Pattyn17-Mar-10 9:09 
GeneralRe: Setting Name property in custom control Pin
Som Shekhar17-Mar-10 9:36
Som Shekhar17-Mar-10 9:36 
GeneralRe: Setting Name property in custom control Pin
Dave Kreskowiak17-Mar-10 9:07
mveDave Kreskowiak17-Mar-10 9:07 
AnswerRe: Setting Name property in custom control Pin
Luc Pattyn17-Mar-10 9:07
sitebuilderLuc Pattyn17-Mar-10 9:07 
AnswerRe: Setting Name property in custom control Pin
Gregory Gadow17-Mar-10 9:31
Gregory Gadow17-Mar-10 9:31 
QuestionGetting System.Net.SocketPermission to actually work!!! Pin
_PolyGram_17-Mar-10 2:37
_PolyGram_17-Mar-10 2:37 
QuestionCreate an MSI in C++ Dot Net? Pin
andrewchris13-Mar-10 11:56
andrewchris13-Mar-10 11:56 
AnswerRe: Create an MSI in C++ Dot Net? Pin
SeMartens14-Mar-10 23:32
SeMartens14-Mar-10 23:32 
GeneralRe: Create an MSI in C++ Dot Net? Pin
andrewchris15-Mar-10 5:01
andrewchris15-Mar-10 5:01 

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.