Wahlberg Posted December 3, 2011 Report Share Posted December 3, 2011 (edited) http://clan-amp.ru/site/content/index.html.contenttelo{position: relative;width: 820px;}.contenttop{width: 820px;height: 213px;background: url('../images/contenttop.png');}.contentbody{width: 820px;min-height: 259px;background: url('../images/contentbg.png') 0 200px repeat-y;}.contentbody div{padding: 0 120px;background: url('../images/contentbody.png') no-repeat; }.contentbottom{width: 820px;height: 399px;background: url('../images/contentbottom.png');}.contenttext{margin-top: 0px;}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><link rel="stylesheet" href="style/style.css" type="text/css" media="screen"></head><body><div class="content"><div class="contenttop"></div><div class="contenttext"><div class="contentbody"><div>sdsd<br><br><br><br><br><br>sdsdsdsd<br><br><br><br><br><br>sdsdsdsd<br><br><br><br><br><br>sdsdsdsd<br><br><br><br><br><br>sdsdsdsd<br><br><br><br><br><br>sdsd</div></div><div class="contentbottom"></div></div></div></body></html>собственно можете помочь, как сделать что бы фон в топовой части блокировался первым элементом? Edited December 3, 2011 by Wahlberg Quote Link to comment Share on other sites More sharing options...
0 cyklop77 Posted December 3, 2011 Report Share Posted December 3, 2011 (edited) del Edited December 3, 2011 by cyklop77 Quote Link to comment Share on other sites More sharing options...
0 Wahlberg Posted December 4, 2011 Author Report Share Posted December 4, 2011 никак нельзя?( Quote Link to comment Share on other sites More sharing options...
Question
Wahlberg
http://clan-amp.ru/site/content/index.html
.contenttelo{
position: relative;
width: 820px;
}
.contenttop{
width: 820px;
height: 213px;
background: url('../images/contenttop.png');
}
.contentbody{
width: 820px;
min-height: 259px;
background: url('../images/contentbg.png') 0 200px repeat-y;
}
.contentbody div{
padding: 0 120px;
background: url('../images/contentbody.png') no-repeat;
}
.contentbottom{
width: 820px;
height: 399px;
background: url('../images/contentbottom.png');
}
.contenttext{
margin-top: 0px;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="stylesheet" href="style/style.css" type="text/css" media="screen">
</head>
<body>
<div class="content">
<div class="contenttop"></div>
<div class="contenttext">
<div class="contentbody"><div>
sdsd<br><br><br><br><br><br>sdsdsdsd<br><br><br><br><br><br>sdsdsdsd<br><br><br><br><br><br>sdsdsdsd<br><br><br><br><br><br>sdsdsdsd<br><br><br><br><br><br>sdsd</div></div>
<div class="contentbottom"></div>
</div>
</div>
</body>
</html>
собственно можете помочь, как сделать что бы фон в топовой части блокировался первым элементом?
Edited by WahlbergLink to comment
Share on other sites
2 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.