Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6164003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:55:14+00:00 2026-05-23T21:55:14+00:00

This is what I have: Label1 Value1 Label2 Value2 Label3 Value3 Label4 Value4 This

  • 0

This is what I have:

Label1 Value1 Label2 Value2

Label3 Value3 Label4 Value4

This is what I want:

Label1 Value1

Label2 Value2

Label3 Value3

Label4 Value4

Without using breaks
but using the clear property in css.

<div id="leftColumn" style="width:200px; border:1px solid green; float:left; ">
                <asp:Label ID="lblVIN" runat="server" CssClass="label"  meta:resourcekey="lblVINResource" />
                <asp:Label ID="lblVINValue" runat="server" CssClass="value" /> 
                <asp:Label ID="lblYear" runat="server" CssClass="label"  meta:resourcekey="lblYearResource" />
                <asp:Label ID="lblYearValue" runat="server" CssClass="value" />
                <asp:Label ID="lblMake" runat="server" CssClass="label"  meta:resourcekey="lblMakeResource" />
                <asp:Label ID="lblMakeValue" runat="server" CssClass="value" />
                <asp:Label ID="lblModel" runat="server" CssClass="label"  meta:resourcekey="lblModelResource" />
                <asp:Label ID="lblModelValue" runat="server" CssClass="value" />
                <asp:Label ID="lblSeries" runat="server" CssClass="label"  meta:resourcekey="lblSeriesResource" />
                <asp:Label ID="lblSeriesValue" runat="server" CssClass="value" />
                <asp:Label ID="lblColour" runat="server" CssClass="label"  meta:resourcekey="lblColourResource" />
                <asp:Label ID="lblColourValue" runat="server" CssClass="value" />
                <asp:Label ID="lblCylinders" runat="server" CssClass="label"  meta:resourcekey="lblCylindersResource" />
                <asp:Label ID="lblCylindersValue" runat="server" CssClass="value" />
                <asp:Label ID="lblFuelType" runat="server" CssClass="label"  meta:resourcekey="lblFuelTypeResource" />
                <asp:Label ID="lblFuelTypeValue" runat="server" CssClass="value" />
                <asp:Label ID="lblAxels" runat="server" CssClass="label"  meta:resourcekey="lblAxelsResource" />
                <asp:Label ID="lblAxelsValue" runat="server" CssClass="value" />
                <asp:Label ID="lblNSCNumber" runat="server" CssClass="label"  meta:resourcekey="lblNSCNumberResource" />
                <asp:Label ID="lblNSCNumberValue" runat="server" CssClass="value" />

            </div>

this is the css so far…

   <style type="text/css" >
    .label{ color:Blue; clear:right;}
    .value{ color:Orange; clear:right;}
</style>

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T21:55:15+00:00Added an answer on May 23, 2026 at 9:55 pm

    You’re not floating anything to then clear anything.

    Check out this fiddle.

    .label{ color:Blue; float:left;clear:left;}
    .value{ color:Orange; float:left;}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have HTML code like this: <div id=first> <dt>Label1</dt> <dd>Value1</dd> <dt>Label2</dt> <dd>Value2</dd> ... </div>
I have chunks of strings within square brackets, like this: [p1 text1/label1] [p2 text2/label2]
I have this label control in my web page <asp:Label ID=Label1 runat=server Text=test></asp:Label> And
I have a item in a listView control like this <asp:Label ID=Label2 runat=server Text='<%#Eval(Open)
I want to have a checkbox in my tab label , but when i
I have a combobox that I populate like this: this.reqTypeInput.Items.Add(new RequestType(Label 1, Value1)); this.reqTypeInput.Items.Add(new
I have a GridView , without using SelectedIndexChanged, how can I retrieve the value
i have this crazy label for each time i create a migration that use
I have a label on my asp.net page, it looks like this: more info
Ok, I have a label, inside this label is a div, which contains an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.