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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T22:21:39+00:00 2026-05-30T22:21:39+00:00

Of all the CSS issues out there, the height paramaters – which should be

  • 0

Of all the CSS issues out there, the height paramaters – which should be fairly easy – always vex me.

I’m developing a calendar component for a ExpressionEngine-driven client website. I’m using SolSpace’s Calendar plugin (which is fantastic on the back end, BTW), and the templates that comes with it is table-based.

I wanted to make a CSS-based template and I’m stuck on how to manage the height of the cells.

Here’s what it looks like now: http://cornerstonearts.hostasaurus.com/calendar

Initially, I set up the cells so that they would expand when the number of events exceeded the available space. I did it as you would expect: min-height:100%; overflow-y:hidden;

I also applied the same settings to the containing DIVs, which make up each week row, and the month container.

The problem was that empty cells collapsed completely, while overflowing cells expanded independently of one another. The latter pushed open the week rows appropriately, but the other day cells within that row would not expand to fill them. As a result, the borders were all out of whack (see attachment).

So I changed the min-height to 120px, but then they don’t expand at all. I also tried a combination of height:120px; min-height:100%; overflow-y:hidden; but that didn’t work, either.

How do I make it so that the cells expand, and expand the other days in the week with them, when needed, but retain a minimum height when they are empty.

As always, I am super appreciative of any assistance.

Thanks,

ty

enter image description here

  • 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-30T22:21:40+00:00Added an answer on May 30, 2026 at 10:21 pm

    You say the templates are table-based. Do you mean html tables exactly? If so I would put the borders you have on your screenshot on the <td>s not on the divs.

    The trouble with css is that individual <div>s don’t know what the height of each other are unless they are nested inside each other which is an unworkable solution for what you are trying to achieve.

    Actually, if it’s an events calendar then it is tabular data, it’s a table of events. There is nothing wrong with tables per se. Just using them like people did in the old days to lay out an entire website.

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

Sidebar

Related Questions

I'm looking at all the CSS Drop shadow tutorials, which are great. Unfortunately, I
Is there a tool that will find for me all the css classes that
I have a page (page1.html) which references a css file (style1.css) All is good.
I am looking for a resource (book or website) which lists all the CSS
Sigh... just when I thought I had figured out all the issues with trailing
I'm using apache+mod_wsgi for django. And all css/js/images are served through nginx . For
In my project I have put all my css classes in the style sheets.
Usually when I build a site, I put all the CSS into one file,
When my ASP.NET page does a postback in IE7, all the CSS is lost.
I am using Passenger and Rails' :cache => true to cache all my css

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.