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

  • SEARCH
  • Home
  • 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 6183275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T01:20:11+00:00 2026-05-24T01:20:11+00:00

Markup <div> <label class=form-label-medium>Full Notice Text</label> <span id=FullNoticeText> Lorem ipsum dolor sit amet, consectetur

  • 0

Markup

<div>
    <label class="form-label-medium">Full Notice Text</label>
    <span id="FullNoticeText">
        Lorem ipsum dolor sit amet, consectetur
        adipiscing elit. Vestibulum urna metus, placerat eleifend
        tincidunt at, posuere feugiat risus. Integer posuere commodo
        magna et consectetur. Maecenas laoreet ultricies tempor. 
        Ut turpis dolor, suscipit vitae egestas vitae, euismod a
        lorem. Cras porta malesuada leo ac faucibus.
    </span>
</div>

CSS

div{
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.form-label-medium{
    font-weight: bold;
    display:inline-block;
    width: 150px;
}

This gives me this: http://jsfiddle.net/naveen/ujkJ5/ which is not what i want.

The problem is that lengthy span that gets wrapped flows underneath my label from the second line.
What I would like is to make each line of span keep 150px distant from the label so that all the lines are lined up in the same line as L in Lorem.

Hope I am clear. What could be done?

  • 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-24T01:20:13+00:00Added an answer on May 24, 2026 at 1:20 am

    Set .form-label-medium to float: left, then add:

    #FullNoticeText {
        display: block;
        overflow: hidden    
    }
    

    See: http://jsfiddle.net/ujkJ5/8/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Well, lets see a markup as an example. <div class=_round_5>Some text</div> <div class=_brTop_5>Another Text</div>
I have HTML markup like this: <div id=blocks> <div class=block></div> <div class=block></div> <div class=block></div>
I have the following markup being generated by a CMS: <div class=product> <div class=blk>
Given the following markup: <ul> <li>apple</li> <li class=highlight>orange</li> <li>pear</li> </ul> Both the ul s
I have some markup like this: <p><a id=1 href=#>Link 1</a></p> <p id=1show class=starthidden>Hi! I
I would like to live update a DIV in the page with the text
CSS & html id0 is the class for the div that's got background as
Trying to center the text label under a barchart under the xaxis in flot.
I have this markup <div id=standards> <table border=1> <thead> <tr> <th>Markup</th> <th colspan=4>HTML</th> <th
I have a node defined by the following HTML markup: <div id="_13:3AVAsa7qVvAprAar19ie8LRorrLEm2g" >asdf</div> I

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.