hi,
i created the following layout with tables. it is a project that has to be done only with html and css and has to work in browser 4.x (ie + netscape).
now, it works in ie, but in netscape 4.x, there is a problem with the background image in the table. i put another table (that's where the content is going to be) into a cell. netscape now repeats the image as a bg in every cell of the new table, although the bg image is defined in the cell where the whole table is situated (e.g. below!)
dunno if this is clear. the problem is located where it begins with:
<td colspan="10" height="310" background="Images/bg_main_start.jpg">
here's the whole code.
html>
<head>
<title>Layoutproblem with Netscape</title>
</head>
<body>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="*">
<td colspan="3" height="*"> </td>
</tr>
<tr>
<td height="*" width="*"> </td>
<td height="*">
<div align="center">
<table bgcolor="#e5e4e4" width="740" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60" width="80">
<meta name="author" content="Adrian Wagner, a-Commerce AG">
</td>
<td height="60" width="80"> </td>
<td height="60" background="Images/img_untermenu_p.gif" width="80"> </td>
<td height="60" background="Images/img_untermenu_u.gif" width="80"> </td>
<td height="60" background="Images/img_untermenu_b.gif" width="80"> </td>
<td height="60" background="Images/img_untermenu_l.gif" width="80"> </td>
<td height="60" background="Images/img_untermenu_i.gif" width="80"> </td>
<td height="60" background="Images/img_untermenu_c.gif" width="80"> </td>
<td height="60" width="80"> </td>
<td height="60" width="20"> </td>
</tr>
<tr height="25">
<td background="Images/img_menu_start.gif" width="80"> </td>
<td width="80"> </td>
<td width="80"> </td>
<td width="80"> </td>
<td width="80"> </td>
<td width="80"> </td>
<td width="80"> </td>
<td width="80"> </td>
<td width="80"> </td>
<td width="20"> </td>
</tr>
<tr>
<td colspan="10" height="310" background="Images/bg_main_start.jpg">
<div align="center">
<table width="725" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25" valign="bottom">
<div align="right" class="title"></div>
</td>
<td width="50"> </td>
</tr>
<tr>
<td height="250"></td>
<td> </td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
</td>
<td height="*" width="*"> </td>
</tr>
<tr height="*">
<td colspan="3" height="*"> </td>
</tr>
</table>
</body>
</html>
tnx a lot for your help.
adi
i created the following layout with tables. it is a project that has to be done only with html and css and has to work in browser 4.x (ie + netscape).
now, it works in ie, but in netscape 4.x, there is a problem with the background image in the table. i put another table (that's where the content is going to be) into a cell. netscape now repeats the image as a bg in every cell of the new table, although the bg image is defined in the cell where the whole table is situated (e.g. below!)
dunno if this is clear. the problem is located where it begins with:
<td colspan="10" height="310" background="Images/bg_main_start.jpg">
here's the whole code.
html>
<head>
<title>Layoutproblem with Netscape</title>
</head>
<body>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="*">
<td colspan="3" height="*"> </td>
</tr>
<tr>
<td height="*" width="*"> </td>
<td height="*">
<div align="center">
<table bgcolor="#e5e4e4" width="740" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60" width="80">
<meta name="author" content="Adrian Wagner, a-Commerce AG">
</td>
<td height="60" width="80"> </td>
<td height="60" background="Images/img_untermenu_p.gif" width="80"> </td>
<td height="60" background="Images/img_untermenu_u.gif" width="80"> </td>
<td height="60" background="Images/img_untermenu_b.gif" width="80"> </td>
<td height="60" background="Images/img_untermenu_l.gif" width="80"> </td>
<td height="60" background="Images/img_untermenu_i.gif" width="80"> </td>
<td height="60" background="Images/img_untermenu_c.gif" width="80"> </td>
<td height="60" width="80"> </td>
<td height="60" width="20"> </td>
</tr>
<tr height="25">
<td background="Images/img_menu_start.gif" width="80"> </td>
<td width="80"> </td>
<td width="80"> </td>
<td width="80"> </td>
<td width="80"> </td>
<td width="80"> </td>
<td width="80"> </td>
<td width="80"> </td>
<td width="80"> </td>
<td width="20"> </td>
</tr>
<tr>
<td colspan="10" height="310" background="Images/bg_main_start.jpg">
<div align="center">
<table width="725" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25" valign="bottom">
<div align="right" class="title"></div>
</td>
<td width="50"> </td>
</tr>
<tr>
<td height="250"></td>
<td> </td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
</td>
<td height="*" width="*"> </td>
</tr>
<tr height="*">
<td colspan="3" height="*"> </td>
</tr>
</table>
</body>
</html>
tnx a lot for your help.
adi