Step 3.
Select
the entire table and set the width to 100%. This will make
the table expand to fit the window but you will notice that
all 3 cells expand to make up the 100%. We only want the centre
cell to expand leaving the other two fixed. To do this simply
restrict the two end cells to the width of the images inside.
Step 4.
In IE you will now notice the two images are sitting on either
side of the browser window. Throw a colour into the centre
cell to see the effects of the expanding table.
Netscape may or may not work at this stage depending on which
version you are using, the size of the browser window or which
way the wind is blowing. To make this work for both browsers
you need to set the width of the centre cell to 100%. Netscape
will be happy enough with that now.
That's it. The basics of making an expanding table. This
technique can be scaled up to build quite complex effects.
|