PDA

View Full Version : how to setup autosizing?


steve2603
10-18-05, 04:56 PM
Can anyone tell me how I setup autosizing for my site.. is this written in the site code or is it a feature of the browser?

Thanks..

Laurey
10-18-05, 05:40 PM
If I understand what you mean, the easiest way is with tables (though can be done with CSS). You would set your tables with % based widths so it scales with browser size, ie:

<TABLE WIDTH="100%">
<TR><TD WIDTH="30%">Navigation Column</TD>
<TD WIDTH="70%">Main Content</TD></TR>
</TABLE>

Keep in mind however, if you have an image that is wider than the percentage - most browsers will go with the image width - thereby rendering things oddly.

hth,
-L

steve2603
10-19-05, 01:59 PM
Thanks, I'll try that.
Steve