Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I use spacer gif properly - current layout not exact.?

Status
Not open for further replies.

dirtystim

Technical User
Jul 4, 2001
26
GB
Hi guys.

I am having second thoughts about my layout.

if you look here you can see that the nav images (or spaces for them)on the left get progressively further apart as you look down them.

At the moment i have em in table cells, but it simply isn't accurate enough.
Can anyone please help show me how to align them with say the spacer gifconfigured to give say 10pix between each one.
I've tried to do it but cant figure how to do it without using '<br>'.

I need to do this, I don't think I can publish till I have this sorted.
Any help very greatly appreciated.


Thanks a lot

d

 
the right hand column of the table seems to be interfering with the left. here's a suggestion...

you could restructure your page so that the left hand column spans the whole of the table.

(eg. <td rowspan=&quot;[however many rows you have in the right]&quot;> )

then you could put a new table inside this cell which holds the nav buttons. then you would have better control over both halves of the page as they are independent.

the nav table in the left would look something like...

<table cellspacing=&quot;10&quot; cellpadding=&quot;0&quot;>
<tr>
<td>[your image]</td>
</tr>
<tr>
<td>[your image]</td>
</tr>
<tr>
<td>[your image]</td>
</tr>
<tr>
<td>[your image]</td>
</tr>
</table>

this would allow you to put in whatever spacing you want and it wouldn't be affected by the rest of the page.

ss
 
SS's advice is good. As much as I hate how cumbersome they can be, sometimes nested tables are the only way to format a page the way you want (unless you use CSS, which NS4.7 doesn't properly support).

BTW stim, your first name is mispelled in the alt tag on your header graphic. :) Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Lol thanx - how embarrassing! Mr Director wouldn't have liked that much!

Of course i 'coff' hadn't done all my final checks etc... lie... etc

I will check out the nested table biz when i get home...
wenever i do the slightest thing it seems to throw the other elements on the page out of alignment. So I will experiment.
So thank you Squirrel and Tracy! your site is slick btw Trace... :)

d
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top