Skip to content

Instantly share code, notes, and snippets.

@marcelosomers
Created October 15, 2014 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcelosomers/07e7e472e7b589ba0081 to your computer and use it in GitHub Desktop.
Save marcelosomers/07e7e472e7b589ba0081 to your computer and use it in GitHub Desktop.
2 Variable Width side by side divs
/*
The wider content that should fill all remaining width - this one will resize
*/
.fluid {
width: 99%;
display: table-cell;
}
/*
The narrower content that should take up all necessary space - this one will not resize
*/
.fill {
white-space: nowrap;
display: table-cell;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment