Created
December 18, 2018 17:31
-
-
Save BenFausch/84a3f38b35679f499edf83d867efba3a to your computer and use it in GitHub Desktop.
50% div side by side
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--white-space:nowrap will force divs to ignore whitespace with inline-block, be sure to reset whitespace to normal on the | |
child elements to keep formattting correct--> | |
<div style="width:100%; white-space:nowrap;"> | |
<div style="width:50%; display:inline-block; white-space:normal">HOlA</div> | |
<div style="width:50%; display:inline-block; white-space:normal">MUCHACHO</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment