Jump to content
  • 0

как создать такую штуковину


lindim
 Share

Question

Есть 8 картинок с закруглеными углами с помошью которых оформлены колонки сайта, вот пример

но когда я в центральную колонку помещаю текст больше 2-х строк то боковые картинки не тянутся (не повторяются). пример.

Вопрос как сделать что бы они тянулись?

Вот код ee.css:

body
{
color:#FFFFFF;
}

.block
{
width:200px;
}

.l_u
{
background-image:url('images/new_lu.png');
width:21px;
height:19px;
float:left;
}

.c_u
{
background:url('images/new_cu.png') repeat-x;
width:160px;
height:19px;
float:left;
}

.r_u
{
background-image:url('images/new_ru.png');
width:19px;
height:19px;
float:left;
}


.l
{
clear:both;
background-image:url('images/new_l.png');
background-repeat: repeat-y;
width:21px;
height:19px;
float:left;
}

.c
{
background-color:#000000;
float:left;
width:160px;
}

.r
{
background:url('images/new_r.png') repeat-y;
width:19px;
height:19px;
float:left;
}


.dl
{
clear:both;
background-image:url('images/new_dl.png');
width:21px;
height:19px;
float:left;
}

.dc
{
background:url('images/new_dc.png') repeat-x;
width:160px;
height:19px;
float:left;
}

.dr
{
background-image:url('images/new_dr.png');
width:19px;
height:19px;
float:left;
}

и сам файл ee.html

<html>
<head>
<link rel="stylesheet" href="ee.css" type="text/css" />
</head>
<body>

<div class="block">
<div class="l_u"></div>
<div class="c_u"></div>
<div class="r_u"></div>
<div class="l"></div>
<div class="c">
LA-LA-LA
<br />
LA-LA-LA
</div>
<div class="r"> </div>
<div class="dl"></div>
<div class="dc"></div>
<div class="dr"></div>
</div>


</body>
</html>

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