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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T22:51:02+00:00 2026-06-09T22:51:02+00:00

I was wondering if the following structure is possible. Here I have a div

  • 0

I was wondering if the following structure is possible.

enter image description here

Here I have a div of fixed width and height (the outer box). I made it to have fixed width and height because it’s a list item and I want them to be uniform. Now, I’m having a problem with the Description area. I want it to have text that will wrap into multiple lines, and if it doesn’t fit, it would show an ellipses. Now I’m planning to set the font-size and line-height strictly as to maybe show 2 lines of text in the Description div. Is this correct? I’m worried that the rendering will be messed up on some browsers and the design might be very fragile. I’m also a bit unsure on how to implement the ellipses using CSS-only solution. I’ve tried the text-overflow: ellipsis but couldn’t quite get it to work.

To be honest, I’m still not sure if I’m on the right path. I’m thinking there might already be an existing/better solution for this structure. Is anyone else doing this? Any help would be very much appreciated. Thanks.

Here’s the JsFiddle link:

http://jsfiddle.net/3kJWQ/4/

  • 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-09T22:51:03+00:00Added an answer on June 9, 2026 at 10:51 pm

    I got the solution from this question:

    Cross browsers mult-lines text overflow with ellipsis appended within a width&height fixed div?

    I chose to use the plugin jQuery dotdotdot.

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

Sidebar

Related Questions

I have the following HTML structure <div id=test-1-yay></div> ... bunch of code ... <div
so I have the following structure: <div class=num1>1,2</div> <div class=num11>2,2</div> <div class=num2>5,4</div> <div class=num21>3,2</div>
I have the following structure: <div id=e1> <h1>Header</h1> <div id=main>text text text text</div> <div
I'm wondering what Data Structure people would recommend to do the following. I have
I have the following simple data structure. A list of students, each with a
I'm wondering if anyone knows how to deal with the following quirky template structure:
I was wondering if the following is possible. Create a class that accepts an
I am wondering if it is possible to have JAXB not to create Java
I've noticed that a lot of projects have the following structure: Project-A bin lib
I was wondering if there is a general database structure for the following situation.

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.