Jump to content
  • 0

Контент на всю высоту


moslem
 Share

Question

Нужно сделать контент на всю высоту


<div id="main">
<div id="content">
<h1>Lorem ipsum</h1>
<p>Lorem ipsum dolor sit amet consectetuer eros odio vestibulum ipsum Aenean. Odio iaculis ut enim nulla tortor vitae mauris sed a velit. Eu Donec Cras non Phasellus lorem magna sem turpis commodo Donec. Urna augue odio tincidunt lacinia nulla Nam Curabitur Aliquam Nulla Donec. Condimentum urna pellentesque congue ridiculus condimentum Integer tortor quis hac nec. Turpis in congue risus.</p>
</div>
<div id="sidebar">
<div class="widget">
<ul>
<li><a href="/">CSS</a></li>
<li><a href="/">Developer</a></li>
<li><a href="/">HTML</a></li>
<li><a href="/">CMS</a></li>
<li><a href="/">Design</a></li>
</ul>
</div>
</div>
</div>


html { height:100%; }
body { height:100%; background:#C0DEED url(i/bgtop.jpg) repeat-x; font:13px Arial,Tahoma; }


#main { border-radius:8px 8px 0 0; min-height:800px; background:#E5E3DE; }
#maintop { background:url(i/contenttop.png); width:920px; height:15px; z-index:2; }
#contenttop { margin-top:-15px; background:url(i/ctop.png); width:543px; height:15px; position:relative; z-index:1; }

#content { height:100%; padding:8px 0 0 8px; float:left; width:590px; background:#fff; -webkit-border-radius:8px 8px 0 0; border-radius:8px 8px 0 0; -moz-border-radius:8px 8px 0 0; -webkit-box-shadow:1px 0 1px #ccc; -moz-box-shadow:1px 0 1px #ccc; box-shadow:1px 0 1px #ccc; }
#sidebar { float:right; width:300px; }

2676234.png

Если есть какие нибудь решения помогите.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy