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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T23:41:55+00:00 2026-05-21T23:41:55+00:00

trying to refresh my memory of some css stuff having been ot of things

  • 0

trying to refresh my memory of some css stuff having been ot of things for a while, can anyone recommend the best approach to achieve this layout

http://www.flickr.com/photos/62570778@N04/5709752069/

is iit better to create lists or float headings etc?

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-21T23:41:56+00:00Added an answer on May 21, 2026 at 11:41 pm

    I would probably suggest using a series of div’s. The outer most defining a box around your entire list, and one for each row. The inner ones floated left/right as appropriate (one for each column).

    Something like:

    <div class="list">
        <div class="row">
            <span class="col1">Name</span>
            <span class="col2">My Name</span>
        </div>
        <div class="row">
            <span class="col1">Age</span>
            <span class="col2">21</span>
        </div>
        <div class="row">
            <span class="col1">Gender</span>
            <span class="col2">Male</span>
        </div>
    </div>
    

    With css something like:

    .list {
      width: 50em;
      overflow: auto;
    }
    
    .row {
      overflow: auto;
      margin-bottom: 2em;
      border-bottom-width: 1px;
      border-bottom-style: solid; 
    }
    
    .col1 {
      float: left;
      max-width: 23em;
    }
    
    .col2 {
      float: right;
      width: 25em;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to refresh my memory but can't find answers with Google. public class
Durning the weekend I'm trying to refresh my c++ skills and learn some c++11,
I'm trying to code to refresh my memory preparing myself for a course. int
I am putting some ajax into a rails project. I am trying to refresh
I am trying to do an AJAX refresh every 7 seconds on some data
I'm trying to force PreferenceActivity to refresh. Does anyone know how to do this?
While I was trying to refresh page contents dynamically using Ajax/JQuery, I have learned
I'm at the point of involuntary hair loss while trying to refresh the Yahoo
I'm trying to refresh some part of a page with an async call with
I am trying to refresh some elements on my page every so often. I

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.