css - Create two paragraphs within an article HTML5 -
i quite new html5. i'm trying 2 make paragraphs in first article. used snippets of http://f6design.com/projects/parallax-scrolling/. want achieve 2 paragraphs on intro article. tried alternative, failed.
<div class="side-container"> <!-- left side --> <aside> left: fixed width, 100% height of window or right hand content </aside> <!-- main content --> <article> right: fluid width </article> </div>
here's code http://jsfiddle.net/sw8s4/
suggestions how this?
best,
sebastian
i try this:
#content { z-index: 4; position: relative; max-width: 900px; padding: 0 10px; margin: 0 auto; line-height: 1.7; } #intro { float:left; width: 400px; padding-right:40px; } #manned-flight { width: 100%; } article img { height:30px; width:100%; }
i not sure output should like, way 2 columns. forst 1 gets fixed width, , second 1 resizes fill rest of parent.
updatet jsfiddle
now can put height:100%;
on body
, #content
, #intro
make 100% of window height.
Comments
Post a Comment