- Kod: Zaznacz cały
<table cellspacing='1' cellpadding='0' align='center' class='menu_left_title'>
<tr>
<td>
<table cellspacing='0' cellpadding='0' align='center' class='menu_left_title_1'>
<tr>
<td style='width: 3px;'></td>
</tr>
</table>
</td>
<td>
<table cellspacing='0' cellpadding='0' align='center' class='menu_left_title_2'>
<tr>
<td>
tutaj tytuł
</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing='0' cellpadding='0' align='center' class='menu_left_text'>
<tr>
<td>
tutaj treść
</td></tr></table>
Oraz plik style.css
- Kod: Zaznacz cały
table .menu_left_title, table .menu_center_title, table .menu_news_title, table .menu_nm_title, table .menu_art_title {
border: 1px solid #5D7784;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
background-color: white;
}
table .menu_left_title_1, table .menu_center_title_1, table .menu_news_title_1, table .menu_nm_title_1, table .menu_art_title_1 {
padding: 1px 1px 1px 1px;
color: #ffffff;
background-color: #C88223;
height: 15px;
width:5px;
}
table .menu_left_title_2 {
width: 140px;
padding: 1px 1px 1px 4px;
background: url(images/menu_left_title.jpg) repeat-x;
font: bold 11px Verdana;
height:15px;
color: #ffffff;
}
table .menu_left_text {
width: 140px;
padding: 3px 2px 3px 2px;
font: normal 11px Verdana;
color: #000000;
background-color: #DBE3E8;
border-left:1px solid #7394A6;
border-right:1px solid #7394A6;
border-bottom:1px solid #7394A6;
}
Kod wg. mnie prosty i czytelny. Mimo to, FF nagłówek wyświetla po lewej stronie, a inne przeglądarki po środku (czyli tak jak powinno być).
Validatory błędów w tym fragmencie nie pokazują.
Co zrobić?