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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:10:01+00:00 2026-06-12T06:10:01+00:00

I want to construct a timeline that has horizontal scrolling. I have a wrapper

  • 0

I want to construct a timeline that has horizontal scrolling.

I have a wrapper DIV, inside it has months. Each month is a DIV inline-block. This works:

<div class="wrap">
    <div class="month">Jan 2013</div>
    <div class="month">Feb 2013</div>
    ...
</div>

This almost works, but because my clients site uses tables for layout the scroll bars don’t work. This fails:

<table><tr><td>

<div class="wrap">
    <div class="month">Jan 2013</div>
    <div class="month">Feb 2013</div>
    ...
</div>

</td></tr></table>

Here is a jsfiddle to show what I mean: http://jsfiddle.net/fhL9u/2/

NOTE: The top timeline example works as you resize the browser. It is 100% width of the page (or containing element.)

How do i make the second timeline overflow correctly? It must take up the remaining width of the screen (no with: 100px hacks), and if possible only show scroll bars when the months overflow.

This is an internal application so I can tell people to use Firefox or Chrome if I need to. This means I can use advanced CSS3 stuff or browser specific ( -webkit or -moz ) stuff. I’d prefer that it was IE8 compatable (just for my own curiosity)

  • 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-12T06:10:03+00:00Added an answer on June 12, 2026 at 6:10 am

    If you can fix the width of that text (in pixels or percents) use this solution:

    table {
        table-layout: fixed;
        width: 100%;
    }
    
    td:first-child {
        width: 100px;    /* or width: 15%; */
    }
    

    Note that you can use a different selector for the text (like a class)

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

Sidebar

Related Questions

I want to construct a div that has a header with background like that
I have a simple problem: I want to construct a regex that matches a
I have around 1500 bytes of data that I want to construct a checksum
i want to realize a construct in MS SQL that would look like this
I want to construct a macro that, given a symbol 'foo , creates a
I have number x=[0,n], where n>0. I want to construct a function y=f(x) such
I want to construct an array of 3 offers that output in a random
Let's say you want to construct an Iterator that spits out File objects. What
I have 2 WCF services now and I want to construct the WCF Service
I have a time series in R. I want to construct a matrix, where

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.