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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T18:20:42+00:00 2026-06-04T18:20:42+00:00

Hi I have a simple question using html and css… hopefully someone can help

  • 0

Hi I have a simple question using html and css… hopefully someone can help me to have a “duh” moment.

Here is the jsfiddle.

I’m planning on having event dates on the left and event information on the right side, wanting a two column look… and with what I have right now, the information wraps around to the beginning, aligning itself with the date. I want the info to align.

I know I can easily accomplish this either with a div-float or using a table, but I don’t want either of those. Maybe I’m using the wrong elements.. not sure.

Thanks in advance.

  • 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-04T18:20:44+00:00Added an answer on June 4, 2026 at 6:20 pm

    Here’s an alternative solution, using a dl, but it assumes that you have .clearfix included in your styles.

    HTML:

    <dl id="container" class="clearfix">
        <dt>05/31/12</dt>
        <dd>The first event looks like this. It has to wrap around.</dd>
        <dt>06/01/12</dt>
        <dd>The second event looks like this. It has to wrap around too.</dd>
        <dt>06/01/12</dt>
        <dd>Thesecondeventlookslikethis.Ithastowraparoundtoo.</dd> 
    </dl>
    

    CSS:

    dl#container{
        width:270px;
        background-color:#e9cfa7;
    }
    
    dt{
        clear:left;
        float:left;
        width:25%; 
        margin-right:2%;
        background-color:#5d396e;
    }
    
    dd{
        width:70%;
        float:left;
        display:inline-block;
        word-wrap:break-word;
    }
    
    .clearfix:after {
        content: ".";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
        }
    
    .clearfix {display: inline-block;}  /* for IE/Mac */
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hopefully a simple question although one I have found impossible to answer myself using
Probably a simple question this, but... I can apply CSS to all images using
I have a really, really simple CSS question that has already been asked here
I have what I hope is a fairly simple question about using the value
I have a simple question regarding jQuery selectors. I'm using the tablesorter and I
this is a simple question. I have a form that is being validated using
When using html tables and css. I have used rowspan=2 to combine to rows
I have a simple html form that I've added validation to using the JQuery
I have a question about how to present some structured data using HTML. I
I have a simple html dom or other scraping question. It could even work

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.