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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T05:16:42+00:00 2026-06-12T05:16:42+00:00

The HTML below is what I’m working with. I want it to be in

  • 0

The HTML below is what I’m working with. I want it to be in a line rather than in list format.

  1. If I use float:left, how do I make the div get bigger (vertically) when it “line wraps”?
  2. If I set display:inline, how can I get it to line wrap for real between the list items rather than on spaces that might not exist (as seen below)?

 <div class="singleTiddlerList">
    	<li><a href="javascript:;" class="button center">Hide All</a></li>
    	<li><a href="javascript:;" class="button center">Show All</a></li>
    	<li><a href="javascript:;" class="button center">Refresh</a></li>
    	<li><a href="javascript:;" class="button">ResizerMacroPlugin</a></li>
    	<li><a href="javascript:;" class="button">ResourceMacro</a></li>
    	<li><a href="javascript:;" class="button">saveBackupPlugin</a></li>
    	<li><a href="javascript:;" class="button">singleTiddler</a></li>
    	<li><a href="javascript:;" class="button">sliderMacro</a></li>
    	<li><a href="javascript:;" class="button">toggleBackstageEdit</a></li>
    	<li><a href="javascript:;" class="button">TopbarPlugin</a></li>
 </div>

Edit: Just for your info, it only needs to work with Chrome and Firefox. It isn’t a customer website or anything like that, just a personal file (actually a TiddlyWiki).

  • 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-12T05:16:44+00:00Added an answer on June 12, 2026 at 5:16 am

    I think you should use display: inline-block and white-space: nowrap on the <li>s.

    If you need support for IE less than version 9, use this hack as well:

    display: inline-block;
    *zoom: 1;
    *display: inline;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm attempting to use boost::format, where my formatting string is the HTML below. I
I'm trying to format the data display HTML below using CSS. I want the
In the html below I want the third div so that it is in
If I have the HTML below: <div style=display:none;> <span id=hello>Hey</span> </div> And I do
Given the HTML below, I am trying to use jQuery to match all the
In the HTML below, the layout works when the actionBar class has a float
Please check my HTML below: <table cellpadding=0 cellpadding=0 border=0> <tr> <td> <div class=toogler>Demo1</div> </td>
Conside below html - <div class=container1> <div class=container2> <div class=container3> <div class=container4> <div class=element>
In the below HTML fragment, how can I make the width of a column
The HTML below: <div id="category"> <div class="content"> <h2>some title here</h2> <p>some content here</p> </div>

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.