Advertisement

07.05.2008 at 03:56AM PDT, ID: 23540511
[x]
Attachment Details

Align label with top of Listbox

Asked by allanmark in Cascading Style Sheets (CSS), Programming for ASP.NET

Tags: MS, VWD, 2005; Express, ASP.NET; CSS

Greetings all

I am stuck with a really simple problem (at least I thought it was). I am trying to align a label with the top of a listbox. As the code (see snippet) stands, the label aligns with the bottom of the listbox.

What am I missing?


In advance, thanks!

   allanmarkStart Free Trial
1:
2:
<label class="label75Perc" >Stories:</label>    
   <asp:ListBox ID="ddlStoryList" CssClass="storyList" runat="server"></asp:ListBox>
[+][-]07.05.2008 at 01:13PM PDT, ID: 21938204

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.05.2008 at 06:26PM PDT, ID: 21938999

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Cascading Style Sheets (CSS), Programming for ASP.NET
Tags: MS, VWD, 2005; Express, ASP.NET; CSS
Sign Up Now!
Solution Provided By: Kravimir
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628