PDA

View Full Version : Seeking advice for new web design


olivier78
03-21-2003, 02:10 AM
Hi all,

I have seen a few sites, such as www.greengrocer.com.au, that has a table on the left hand side and one on the right hand side, and of course, one in the middle (well, check by clicking "gift" on the top menu bar). If you resize your window, you will notice that only the middle one changes it size to accomodate a smaller resolution or screen size.
I am wondering if this is just a matter of giving a fix size to the left & right column, such a width="xx" and heigth="100%", and nothing for the middle table, or is there somehing tricky to achieve this, such as css?

Thank you for your help and guidance. I have posted a similar question in another categorie, but was advise to ask this in this section, I am not trying to speed up the answer or create some spamming, sorry if this upset someone. :o

PS: www.elantra.com.au is the current site that I have designed, but that I don't really like it now.

Spudhead
03-21-2003, 02:52 PM
Nope, it's as simple as you say :) Try it out:

<table width="100%">
<tr>
<td width=100>&nbsp;</td>
<td>Paste a big chunk of text into here.</td>
<td width=100>&nbsp;</td>
<tr>
</table>

Or, you cold simply view the source of the page you give as an example, and see how they do it ;)


Edited to add:
Nuts. The forum software parses & n b s p ; as spaces. You need something in those <td>'s to either side.