Friday, March 26, 2010

template changing

Hi

If you go to http://www.pharmeng.ie/index4.html and go down through the pages you will see on 3 of them the white bar at the top gets wider, these pages are home, about us and sectors.?All the pages were created using the same template so i dont understand why these pages are jumping to a different width.?Does anyone know why this is happening and how do i fix it .

Thanks

template changing

%26lt;table width=''879'' align=''center''%26gt;

%26lt;tr%26gt;

%26lt;td width=''871''%26gt;%26lt;table width=''871'' align=''center''%26gt;

%26lt;tr%26gt;

%26lt;td width=''863'' align=''left'' bgcolor=''#DDDDDD''%26gt;%26lt;table width=''99%''%26gt;

%26lt;tr%26gt;

%26lt;td bgcolor=''#FFFFFF''%26gt;%26lt;table width=''99%''%26gt;

%26lt;tr%26gt;

%26lt;td width=''58%''%26gt;

jumping pages:

%26lt;table width=''879'' align=''center''%26gt;

%26lt;tr%26gt;

%26lt;td width=''871''%26gt;%26lt;table width=''871'' align=''center''%26gt;

%26lt;tr%26gt;

%26lt;td width=''863'' align=''left'' bgcolor=''#DDDDDD''%26gt;%26lt;table width=''100%''%26gt;

%26lt;tr%26gt;

%26lt;td bgcolor=''#FFFFFF''%26gt;%26lt;table width=''99%''%26gt;

%26lt;tr%26gt;

%26lt;td width=''58%''%26gt;

Without taking your pages into my DW, and after a quick look at the code,

there appears to be a difference in the table widths, between the 'normal pages'

And the ones where the header shifts in width....

Make sure that the widths on all the tables are the same ..

template changing

Thanks for that it has stopped the jumping.?I have one other thing the width of the white bar is slighty wider than the banner and no what i do i cant get them the same does anyone know what to do.

Thanks

The table and the nested table for the header are probably adding padding to the cells because you haven't set the padding to 0.?Leaving the cellpad and cellspace in the Property Inspector blank, adds default settings, you need to explicitly set them to 0..

Select each of the tables and via the PI, set the padding and spacing to 0.?That should decrease the size of the header table to hug the flash inside it.

Hi

I have done that and the put them back in to the table with the banner still no change.?The nested white table is always wider and i cant change it.

No comments:

Post a Comment