Skip to content

Instantly share code, notes, and snippets.

@martinbalfanz
Created April 15, 2011 15:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martinbalfanz/921844 to your computer and use it in GitHub Desktop.
Save martinbalfanz/921844 to your computer and use it in GitHub Desktop.
lesscss 2 column layout without floats
#main {
display:table;
#sidebar, #content {
display:table-cell;
}
#sidebar {
width:150px;
}
/*
* #content {
* padding-left:50px;
* }
*
*/
}
@EnTeQuAk
Copy link

Just works flawlessly, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment