Да это не то
вот код как сделать чтобы после 2 таблиц шла линия
<div id="tovar">
<table cellpadding="0" cellspacing="2" border="0" class="maintable">
<tr>
<?if(is_array($arElement["PREVIEW_PICTURE"])):?>
<td valign="top">
<a href="<?=$arElement["DETAIL_PAGE_URL"]?>"><img border="0" src="<?=$arElement["PREVIEW_PICTURE"]["SRC"]?>" width="<?=$arElement["PREVIEW_PICTURE"]["WIDTH"]?>" height="<?=$arElement["PREVIEW_PICTURE"]["HEIGHT"]?>" alt="<?=$arElement["NAME"]?>" title="<?=$arElement["NAME"]?>" /></a><br />
</td>
<?elseif(is_array($arElement["DETAIL_PICTURE"])):?>
<td valign="top">
<a href="<?=$arElement["DETAIL_PAGE_URL"]?>"><img border="0" src="<?=$arElement["DETAIL_PICTURE"]["SRC"]?>" width="<?=$arElement["DETAIL_PICTURE"]["WIDTH"]?>" height="<?=$arElement["DETAIL_PICTURE"]["HEIGHT"]?>" alt="<?=$arElement["NAME"]?>" title="<?=$arElement["NAME"]?>" /></a><br />
</td>
<?endif?>
<td valign="top"><a class="a_color" href="<?=$arElement["DETAIL_PAGE_URL"]?>"><?=$arElement["NAME"]?></a><br />
<?foreach($arElement["DISPLAY_PROPERTIES"] as $pid=>$arProperty):?>
<div id="cat"><?=$arProperty["NAME"]?>: <span class="color-text"><?
if(is_array($arProperty["DISPLAY_VALUE"]))
echo implode(" / ", $arProperty["DISPLAY_VALUE"]);
else
echo $arProperty["DISPLAY_VALUE"];?></span><br />
<?endforeach?>
<?foreach($arElement["PRICES"] as $code=>$arPrice):?>
<?if($arPrice["CAN_ACCESS"]):?>
<p><?=$arResult["PRICES"][$code]["TITLE"];?>:
<?if($arPrice["DISCOUNT_VALUE"] < $arPrice["VALUE"]):?>
<s><?=$arPrice["PRINT_VALUE"]?></s> <span class="catalog-price"><?=$arPrice["PRINT_DISCOUNT_VALUE"]?></span>
<?else:?><span class="catalog-price"><?=$arPrice["PRINT_VALUE"]?></span></div><?endif;?>
</p>
<?if($arParams["USE_PRODUCT_QUANTITY"]):?>
<?echo GetMessage("CT_BCE_QUANTITY")?>:
<input type="text" name="<?echo $arParams["PRODUCT_QUANTITY_VARIABLE"]?>" value="1" size="5">
<?endif;?>
<?endif;?>
<?endforeach;?>
<a href="<?echo $arElement["BUY_URL"]?>" rel="nofollow"><?echo GetMessage("CATALOG_BUY")?></a><div id="korzina2"><a href="<?echo $arElement["ADD_URL"]?>" rel="nofollow"><?echo GetMessage("CATALOG_ADD")?>Добавить в корзину: <img src="/bitrix/templates/<? echo SITE_TEMPLATE_ID;?>/images/korzina.png"/></a></div>
</noindex>
<br />
<?=$arElement["PREVIEW_TEXT"]?>
</td>
</tr>
</table>