Таблици центриране ^^

GaTio2

Registered
Здравейте та правя си сайт и искам ви питам как да центрирам меню то ето картинка да видите как е http://store.picbg.net/pubpic/73/19/3908e0285b217319.JPG

и ето кода за менюто

Код:
<table>
<tr>
<td id="border" width="895px" height="30px">
<table>
<tr>
<center>
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td>
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td>
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td>
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td>
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td>
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td>
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td>
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td>
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td>
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td>
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td>
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td>
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td>
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td>
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td>
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td>
</center>
</tr>
</table>
</td>
</tr>
</table>

+1
 
Код:
<table> 
<tr> 
<td id="border" width="895px" height="30px"> 
<table> 
<tr> 
<div style="text-align: center" align="center">
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td> 
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td> 
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td> 
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td> 
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td> 
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td> 
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td> 
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td> 
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td> 
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td> 
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td> 
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td> 
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td> 
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td> 
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td> 
<td style="border: 1px solid #3f3f3f; text-align:center; background-color: #4a4a4a; font-family: Tahoma; font-size: 12px; line-height: 18px;" onmouseover="this.style.backgroundColor='#000000'" onmouseout="this.style.backgroundColor='#3f3f3f'"> <a href="#">Начало</a></td> 
</div>
</tr> 
</table> 
</td> 
</tr> 
</table>
@emcuemnecu мда ;)
Тия таблици голям shit ;]
 
Вие дадохте една точка за support на R3sp3k7 .
Натиснете тук за да се върнете в темата.
сри даше твойто не стана
 

Back
Горе