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.

Table / Table Cells

Featured Replies

Good evening,

 

I am wondering if someone would be able to help me.... I am working on a design that requires both team member boxes to remain the same height.

 

Now, I managed to get the two columns in each team member box to remain the same height using table & table cell. However, I can't seem to apply this to the outside columns that are currently floated, the right column is smaller when you reduce the screen resolution. You can see what I mean here.

 

The CSS I am using is:

.team-section-one{
	margin: 40px -40px 40px 0px;}
	
.team-item-wrapper{
	padding: 0px 40px 20px 0px;
	display: table;
	width:50%;
	float:left;}

.team-item .left-column{
	width:65%;
	display: table-cell;
	padding-right:20px;}
	
.team-item .right-column{
	width:35%;
	display: table-cell;
	position:relative;}
	
.team-item .right-column .inner{
	text-align:right;
	width:100%;
	position:absolute;
	bottom:0px;
	padding: 0px 20px 20px 20px;}

Can anyone help me? It's important that all columns remain the same height (expanding to fit content) and that the member title remains at the bottom of the coloured column.

 

Thanks in advance to anyone that might be able to help me :-)

I think you should just add attribute "min-height" to both columns

  • Author

Thank you, I appreciate your answer. However, I am trying to get the columns to expand depending on the content.... I think min-height would just restrict that. Plus, once the content spills over the min-height, I am back with the same problem again.

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.