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 7945257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T00:48:25+00:00 2026-06-04T00:48:25+00:00

Using <ul> + <li> : http://jsfiddle.net/FsmcM/ Using <div> + <span> : http://jsfiddle.net/z47LM/ Is it

  • 0

Using <ul> + <li> :
http://jsfiddle.net/FsmcM/

Using <div> + <span> : http://jsfiddle.net/z47LM/

Is it possible to display half of the <li>? (like <div> + <span>)

  • 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-06-04T00:48:27+00:00Added an answer on June 4, 2026 at 12:48 am

    If you remove the float: left; then it should work.

    jsFiddle.

    as an FYI, you don’t need to float left when you display:inline;

    ul{
        border:1px solid blue;
        width:230px;
        overflow:hidden;
        list-style: none;
        margin: 0;a
        padding: 0;
    }
    ul li{
        border:1px solid red;
        height:20px;
        display:inline;
        word-break:break-all;
        word-break: break-all;
    }​
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
     <body>
      <ul>
        <li>1234567890</li>
        <li>1234567890</li>
        <li>1234567890</li>
      </ul>
     </body>
    </html>
    ​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using simple jcarousel here is ther code: http://jsfiddle.net/w6fLA/ I'm trying to show div
http://jsfiddle.net/9BCrs/5/ I have this set up to load a file into a DIV using
Using this really simple html / css ( http://jsfiddle.net/XXzTj/ ) <div style=background-color:red;> <div style=margin:12px;
Example: http://jsfiddle.net/NBWmU/1/ I'm using the following CSS to make the background of my div
I am using this JavaScript code to display tweets from twitter: http://jsfiddle.net/mLwjA/ I want
I'm using this jQuery to expand images on hover: http://jsfiddle.net/bAHXJ/ Now I'd like to
http://jsfiddle.net/BXNE9/1/ I want to open div through anchor point using related link. when I
http://jsfiddle.net/nUcXQ/ How to get dynamic height on the main (black background) I'm using image
here is the code: http://jsfiddle.net/bfQMD/11/ Im using flip pluging and how to change opacity.
Update : Added simple test example http://jsfiddle.net/7UhrW/1/ using normalize.css. Chrome/WebKit and Firefox have different

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.