yo.. i have a problem with some tables and there width in IE6..
lets say i have a page with a table that is 100% wide like this:
--------------------------------------
when adding two images in another table inside that table it gets like this in SOME pages
-----------------------------------------------
even though the images is just this wide:
--------------------------
as said, this occurs just on some pages.. not all and i have tried to find out what it is, but without results..
this is the code im using:
header.asp:
<script language="javascript" src="includes/default_javascript.js" type="text/javascript"></script> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="<% = strBgColour %>" text="<% = strTextColour %>" background="<% = strBgImage %>"> <table cellpadding="10" border="0" width="100%"> <tr> <td width="100%"> <table <% If strPageTableBorderColor = "" Then Response.Write("border=""0""") Else Response.Write("border=""1""") %> cellpadding="5" cellspacing="0" bgcolor="<% = strPageTableBgColor %>" background="<% = strPageTableBgImage %>" style="border-collapse: collapse" bordercolor="<% = strPageTableBorderColor %>" width="100%"> <tr> <td width="100%"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="100%" colspan="3"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="100%"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="100%" style="padding: 5px"> <table <% If strHeaderTableBorderColor = "" Then Response.Write("border=""0""") Else Response.Write("border=""1""") %> cellpadding="0" cellspacing="0" bgcolor="<% = strHeaderTableBgColor %>" background="<% = strHeaderTableBgImage %>" style="border-collapse: collapse" bordercolor="<% = strHeaderTableBorderColor %>" width="100%"> <tr> <td width="100%" style="padding: 5px"><!--#include file="includes/header_inc.asp" --></td> </tr> </table> </td> </tr> <tr> <td width="100%" style="padding: 5px"> <table <% If strNavigationTableBorderColor = "" Then Response.Write("border=""0""") Else Response.Write("border=""1""") %> cellpadding="0" cellspacing="0" bgcolor="<% = strNavigationTableBgColor %>" background="<% = strNavigationTableBgImage %>" style="border-collapse: collapse" bordercolor="<% = strNavigationTableBorderColor %>" width="100%"> <tr> <td width="100%" style="padding: 5px"><!--#include file="includes/navigation_inc.asp" --></td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td height="100%" valign="top" style="padding: 5px"> <table height="100%" width="100%" <% If strLeftTableBorderColor = "" Then Response.Write("border=""0""") Else Response.Write("border=""1""") %> cellpadding="10" bgcolor="<% = strLeftTableBgColor %>" background="<% = strLeftTableBgImage %>" style="border-collapse: collapse" bordercolor="<% = strLeftTableBorderColor %>"> <tr> <td width="100%" height="100%" valign="top" style="padding: 5px"><!--#include file="includes/left_inc.asp" --></td> </tr> </table> </td> <td width="100%" style="padding: 5px" valign="top"> <table <% If strMainTableBorderColor = "" Then Response.Write("border=""0""") Else Response.Write("border=""1""") %> width="100%" bgcolor="<% = strMainTableBgColor %>" background="<% = strMainTableBgImage %>" style="border-collapse: collapse" bordercolor="<% = strMainTableBorderColor %>" cellpadding="10"> <tr> <td style="padding: 5px" width="100%" height="100%" valign="top"> |
includes/header_inc.asp
[CODE]<table width="100" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100">
<% If Not strTitleImage = "" Then %>
<a href="<% = strWebSiteURL %>" target="_self"><img src="<% = strTitleImage %>" border="0" /></a>
<% End If %>
</td>
<td width="100">
<% If Not strTitleImage = "" Then