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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:03:31+00:00 2026-05-16T10:03:31+00:00

Got: <ul> <li><div style=width:200px; display:table-cell;>Something here</div> <div style=width:40px; display:table-cell;>Edit</div> <div style=width:40px; display:table-cell;>Delete</div></li> </ul> Hopefull

  • 0

Got:

<ul>
    <li><div style="width:200px; display:table-cell;">Something here</div> <div style="width:40px; display:table-cell;">Edit</div> <div style="width:40px; display:table-cell;">Delete</div></li>
</ul>

Hopefull you get what I’m trying to do, have the first div be a fixed width. But I can’t seem to do this, each div takes up a line by itself.

How can this be done without messy floats?

Thanks

  • 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-16T10:03:32+00:00Added an answer on May 16, 2026 at 10:03 am

    Please, never do that again! The way to do it would be with floats, but you really NEVER wanna use something like that! By the way, div‘s aren’t allowed within an ul. If you wanna display data like that, you should use real tables.

    Did I mention that you really shouldn’t use that under any circumstance?

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

Sidebar

Related Questions

I got the following code: <div style=width: 300px; height: 100px; border: 1px solid red;>
I've got this php code that works perfectly: preg_match_all( '/<div style=display:block; float:left; height:240px; width:150px;'
I have got this div..: <a href=/><div id=logoCover style=position: absolute;width: 341px;height: 100px;z-index: 9999;top: 0px;left:
So I've got this markup: <div id=text-container> <p></p> </div> with this style (redundant, I
I'm trying to do something fairly simple. I've got a div tag in which
I have the this piece of code here... <div class=pics2> <div style=position: absolute; top:
I've got a test site here (still in development) and I'm trying to get
Im testing out something here,so please excuse the css rules.I have got a ul
I am using an horizontal accordion from here: http://www.dynamicdrive.com/dynamicindex17/haccordion.htm I got it to display
Got a Div being refreshed every 5 seconds. The div has scrolling set to

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.