Здравствуйте, принимайте новичка) Никак не могу переделать блок,хочу сделать через div,может кто то поможет? Вот код
Code
<!-- <block1> -->
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='b-top-left'><img src='style/images/blank.gif' width='7' height='27' alt='' style='display:block'></td>
<td class='b-top-main'><center>Навигация по сайту</center></td>
<td class='b-top-right'><img src='style/images/blank.gif' width='9' height='27' alt='' style='display:block'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='b-left'><img src='style/images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
<td class='sbody'>
<!-- <bc> -->$SMENU_1$<!-- </bc> -->
<hr>
<!-- <bc> -->$SMENU_2$<!-- </bc> -->
</td>
<td class='b-right'><img src='style/images/blank.gif' width='7' height='1' alt='' style='display:block'></td>
</tr>
<tr>
<td class='b-bottom-left'><img src='style/images/blank.gif' width='7' height='10' alt='' style='display:block'></td>
<td class='b-bottom-main'><img src='style/images/blank.gif' width='1' height='10' alt='' style='display:block'></td>
<td class='b-bottom-right'><img src='style/images/blank.gif' width='9' height='10' alt='' style='display:block'></td>
</tr>
</table>
<!-- </block1> -->
.b-top-left {
width:29px;height:34px;
background-image:url(style/images/b-top-left.gif);
}
.b-top-main {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:11px;font-weight:bold;
color:#fff;
height:34px;
padding: 2px 1px 1px 1px;
background-image:url(style/images/b-top.gif);background-repeat:repeat-x;
}
.b-top-right {
width:29px;height:34px;
background-image:url(style/images/b-top-right.gif);
}
.b-left {
width:29px;
background-image:url(style/images/b-left.gif);background-repeat:repeat-y;
}
.b-right {
width:29px;
background-image:url(style/images/b-right.gif);background-repeat:repeat-y;
}
.b-bottom-left {
width:29px;height:23px;
background-image:url(style/images/b-bottom-left.gif);
}
.b-bottom-main {
height:7px;
background-image:url(style/images/b-bottom.gif);background-repeat:repeat-x;
}
.b-bottom-right {
width:29px;height:23px;
background-image:url(style/images/b-bottom-right.gif);
}