Skip to content

13 comments

Always appreciate new css and jquery tricks; but what is the purpose of the equal height columns (number 1 on the list)?

It says in the article that getting columns to be at equal heights is a problem for designers. How is that true?

0 points

you must be new to this...

3 points

I am sort of, but mostly I haven't done anything involving matching columns next to each other yet..

1 points

Normally, when you float divs (columns) they only expand height-wise as tall as their contents. Thus, if you have a background color on the divs, some of the columns might not stretch all the way down: e.g. you end up with scattered, messy looking columns.

Common fixes include

  • adding a cleared div below them, but that isn't semantic

  • setting the columns' container div to overflow:hidden

I haven't looked at it, but the jQuery solution might be more cross-browser compatible.

1 points
unknown author5 hidden

Deleted before we saved it.

-5 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.