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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:41:59+00:00 2026-06-10T19:41:59+00:00

I have to develop a tiny schedule overview. My problem are the events that

  • 0

I have to develop a tiny schedule overview.
My problem are the events that takes place over midnight.

What I want to do is the following:

On the left side I have a “column” (I work with divs) with the days.
On a second column beside the first one I have my events.

No problem, for events that start and end on the same day.
Events are no text, this are fancy divs with, some add infos and icons, but here I will show them as text.

2012-02-25    Event 1 (8:00-11:00)
              {Some space}
              Event 2 (13:00-15:00)
              {20px space}
--------------------------------------------
2012-02-26    {20px space}
              Event 3 (8:00-11:00)
              {Some space}
              Event 4 (13:00-15:00)

Fine!
But now, for events taken place over midnight, I want to place the event div above the line that divides the two days and centered, so each event div have 30px height and the line is 2px high, that means that I want to have 14px of the overnight event on the startdate and 14px on the enddate.

Each day “row” is also a div. So I want the overnight event placed above the two “row” divs and the line (maybe <hr>, maybe <div>).

Now my question, is this possible and if yes, how?

Best regards

EDIT:

Here a jsFiddle: http://jsfiddle.net/NoiZy/6Dkta/

And now one additional event should be placed above the red line with half size on each day.

  • 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-10T19:42:00+00:00Added an answer on June 10, 2026 at 7:42 pm

    I might do something like this http://jsfiddle.net/6Dkta/61/
    Set each day row to be ‘position:relative’ then the overlapping event I gave a class so you can add dynamically. The Class twoDay sets the position to absolute and bottom to -34px. This way it will always overlap the bottom no matter the size of the row. Not sure if this works in your setup but it works on the fiddle.

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

Sidebar

Related Questions

I am completely new in Windowsphone7.i have develop sample application in that i want
I am new in Android. I have develop an app. And now want to
I have develop a function in PYTHON that sends emails with one .doc attachment
I have to develop an app that has to present a floor of hexagons
I have develop a application that use a global keybord/mouse hook. It works perfect
i have develop a silverlight application with wcf net.tcp binding. i want create an
I have develop android application using Android SDK, Eclipse IDE.In that some times showing
Hi i have develop an android application in which i want to prevent user
I have to develop a tool in C# that retrieves some data from an
I have to develop extension for legacy application that relies on com objects. My

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.