PDA

View Full Version : header & Page Background width problem


assassin85
03-16-2009, 06:49 AM
hello

i desined header template with table 100% width and i add in Page Background additional CSS

border: 1px solid #b3b3b3;

The right side ok the both all on 1 line but the left side have the problem the page panel wide 2px more than header

here is an image for example

waiting for help

thanks

Aros
03-16-2009, 07:30 AM
In order to get help on this, we would need see the rest of the HTML and CSS code. A link to the style will be sufficient.

assassin85
03-16-2009, 08:00 AM
in attachment the images for the header and the xml

Aros
03-16-2009, 08:08 AM
Not exactly what I had in mind but definitely gives more insight to the situation. In your table you have spaces in front of your images. Try deleting that as followed;

<table border="0" width="100%" id="table1" cellspacing="0" cellpadding="0">
<tr>
<td width="264"><img border="0" src="style/main/header_left.gif" width="264" height="111"></td>
<td background="style/main/header_bg.gif">&nbsp;</td>
<td width="227"><img border="0" src="style/main/header_right.gif" width="227" height="111"></td>
</tr>
</table>

Not sure if this will fix the bug. Do you have a working version of the style online somewhere? It would give a complete picture.