Jump to content
  • 0

помогите исправить код


madman656
 Share

Question

в этом коде есть картинка размером 200 на 180 а розовая полоса длиной во всю страницу как зделать её чтоб она была по длине как картинка? Заранее благодарен !!!!!

<head>

<td width="1"><style type="text/css" >

.r1, .r2, .r3, .r4 {

display: block;

height: 1px;

background: #f677c5;

}

.r1 { margin: 0 5px;}

.r2 { margin: 0 3px;}

.r3 { margin: 0 2px; }

.r4 { margin: 0 1px; height: 2px;}

.block-round-content {

background: #f677c5; /* Öâåò ôîíà */

padding: 10px; /* Ïîëÿ âîêðóã òåêñòà */

}

</style>

</head>

<img src="images/BRC_4EL.gif" width="200" height="170" hspace=20 vspace=10 class="leftimg" />

<body>

<div class="block-round">

<span class="r1"></span><span class="r2"></span><span class="r3"></span><span class="r4"></span>

<div class="block-round-content">

ðîëäáhjkhjk<br/>

hgjkhkhjk<br/>

ghjgkhjkhjkl<br/>

ghjghjkgjghjg<br/>

gfhjgkghjlkj<br/>

</div>

<span class="r4"></span><span class="r3"></span><span class="r2"></span><span class="r1"></span>

</div>

</body>

</html>

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

<head>
<td width="1"><style type="text/css" >
...
</head>
<img src="images/BRC_4EL.gif" width="200" height="170" hspace=20 vspace=10 class="leftimg" />
<body>

Маэстро!

Мало того, тэги наобум рассовал, да ещё и без кавычек.

Edited by Int
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