Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

CSS Auto size column height

Featured Replies

This should be easy for me, but on this particular web site I am making, just can't seem to get it right.

 

Basically, I have a left menu column and a right main column which (on most pages) contains a large amount of text.

 

How do I arrange my css so the left div area stretches when the right does?

 

The web site is http://www.lucky-magpies.co.uk/lifestyle/personal_training.php if you want to look at my code whatever, feel free

 

Cheers!

  • Author

Looked at the page. What do you want to move when the left div stretches? Or, why is it important for the left div to stretch?

 

Thanks for replying, I want the left div to be the same height as the main column div, so the div backgrounds match to prevent a gap under the left collumn when the main one is longer, this should be visible on the page I linked, or at least on some of the pages at http://www.lucky-magpies.co.uk/lifestyle

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.