Forum Moderators: open

Message Too Old, No Replies

Fixed tables are expanding?

         

sam_spetton

9:26 am on Jan 13, 2006 (gmt 0)

10+ Year Member



I have desgned a page & wrapped it in a "700" pixel table. There is a table inside the "700" & its at "100%"there is also another table inside it at "500" pixles. Now I am working with the "500" pixel table & everytime I go to add cell padding it blows the 700 pixel width out to a wider size, even though in the code it still says "700" it is definately getting wider with the more padding I give. I tested by adding 200 pixels of padding.

Is there a way to make the inner table stay at 500 pxels when I am adding cell padding? I am trying to get padding around some photos which I want to display on the page in the 500 pixel space. I made 240 pixels in size (2 photos per line, in two cells).

Thanks.

abbeyvet

9:56 am on Jan 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am not sure I am getting your numbers right here, but 2 images at 240px each side by side is 480px. So you only have 20px to play with for padding to make things up to the 500px width of the table. That would mean that the maximum you could have is 5px padding in the cells holding the images.

If you add any more than that, the numbers don't add up and the 500px inner table has to expand, pushing everything else out of kilter as well.

Maybe I am not understanding you though - can you post the HTML for the tables?