Проблем с див

PHP_Masters

Registered
Значи, направих си цсс и си сложих дивове в таблица те са в 1 ред, и когато на някои от текстовете е по-дълъг единия див(този с по-малко текст) отива посредата на другия див(този с повече текст)

Дано съм се изразил правилно, но ето картинка

1718.gif


ето и кода на цсс-а

#wrapper {
margin: 0 auto;
width: 800px;
padding: 0;
text-align: left;
}
#content {
background: url(images2/right_plot.gif) center repeat-y;
width: 221px;
}

.top {
background: url(images2/right_bottom.gif) top center no-repeat;
width: 221px;
height: 31px;
}
#content2 {
background: url(images2/left_plot.gif) repeat-y;
width: 661px;
}
.top2 {
background: url(images2/left_bottom.gif) no-repeat;
width: 661px;
height: 31px;
}
.bottom {
background: url(images2/footer.gif) bottom center no-repeat;
width: 221px;
height: 12px;
}
.bottom2 {
background: url(images2/footer2.gif) bottom center no-repeat;
width: 661px;
height: 12px;
}
 
Може ли да го сложиш ти, защото не мога да се оправя

Код:
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Rounded Two | Home</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css.css" />
</head>
<body>
	<div id="wrapper">
            <table border="0">
                <tr><td><div class="top">Заглавие
                </div>
		<div id="content">Описание</div>
                <div class="bottom"></div>
                <td><div class="top2">Заглавие
		</div>
		<div id="content2">Описание
                </div>
                <div class="bottom2"></div></td></tr>
                </table>
		</div>

</body>
</html>
 

Back
Горе