Columns On A Webpage Made With CSS and HTML -
i creating webpage, , i'm unsure of how something. did bit of research, , unable find answer. basically, split body of page 2 columns. on left side, want set pictures, , on right, set text. how do this? please provide simple explanation, i'm new web design
if don't need back upwards older versions of ie, can utilize 'flex' layout.
see http://css-tricks.com/snippets/css/a-guide-to-flexbox/
class="snippet-code-css lang-css prettyprint-override">body, html { height: 100%; margin: 0; padding: 0; } #container { display: flex; height: 100%; } #pics, #text { flex: 1; color: white } #pics { background-color: blue; } #text { background-color: green; }
class="snippet-code-html lang-html prettyprint-override"><div id="container"> <div id="pics"> pics here </div> <div id="text"> text here </div> <div>
html css
No comments:
Post a Comment