Jump to content
  • 0

резина


musulman
 Share

Question

есть три дива нжно, что бы див по середине(контент) растягивался, а дивы по бокам оставались на месте. но получается левый див стоит контент по середине а правый див уходит вниз.

html:

<div class="menu"> MENU </div>
<div class="content"> CONTENT </div>
<div class="banner"> BANNER </div>

css:

.menu {
float:left;
width:130px;
}

.content {
margin-left:140px;
margin-right:140px;
}

.banner {
float:right;
width:130px;
}

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Знание английского в данном случае не требуется. Щелкаешь по подходящему макету и смотришь исходник. Тебе нужен вот этот макет

http://blog.html.it/layoutgala/LayoutGala14.html

Link to comment
Share on other sites

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