ispCP - Board - Support
Ticket 486 - Pages too wide - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: Ticket 486 - Pages too wide (/thread-995.html)

Pages: 1 2


RE: Ticket 486 - Pages too wide - Cube - 07-21-2007 01:07 AM

It seems that I have found a fix. At the beginning of each page there is the following code:

Code:
<tr>
<td align="left" valign="top" style="vertical-align: top; width: 195px; height: 56px;"><img src="../themes/omega_original/images/top/top_left.jpg" border="0"></td>
<td style="height: 56px; width: 617px;"><img src="../themes/omega_original/images/top/top_left_bg.jpg" border="0"></td>
<td style="width:100%; background-image: url(../themes/omega_original/images/top/top_bg.jpg)"> </td>
<td style="width: 73px; height: 56px;"><img src="../themes/omega_original/images/top/top_right.jpg" border="0"></td>
</tr>

I have changed it this way:

Code:
<tr>
<td align="left" valign="top" style="vertical-align: top; width: 195px; height: 56px;"><img src="../themes/omega_original/images/top/top_left.jpg" border="0"></td>
<td style="height: 56px; width:100%; background-image: url(../themes/omega_original/images/top/top_bg.jpg)"><img src="../themes/omega_original/images/top/top_left_bg.jpg" border="0"></td>
<td style="width: 73px; height: 56px;"><img src="../themes/omega_original/images/top/top_right.jpg" border="0"></td>
</tr>

Than you have to change the colspan from 3 to 2 here:

Code:
<td class="bottom" align="center">ispCP 1.0rc2 OMEGA<br />build: 2007-04-18<br />Priamos</td>
</tr>
</table></td>
<td colspan=3 style="vertical-align: top;"><table style="width: 100%; border-collapse: collapse;padding:0;margin:0;">

After this changes IE7 doesn't display too wide pages anymore. I don't really understand why, but it works.
Please test and if there aren't any negative effects, I would like to see it in RC3.