View Full Version : Add a third column
hi,
im not too good at coding, but i want to add a third column. i have nearly done it, but i cant align in properly.
i have created an extra element, linked into the index.php, and altered the css. but i cant align in properly.
see here
http://www.findperfectgifts.co.uk
how do i get the column on the right side to be at the same level as the other 2 ??
I'm no coder but when I've had this problem I've always found that I needed to remove a </div> from somewhere - probably at the bottom of the second column code.
I agree, it definately looks like either one too many or one too few on the <div> </div> tags.
Although personally, I couldn't double check against my own, as i've gone the old fashioned method with my sites and have actually replaced all the <div> stuff with <table>, <tr> and <td> tags instead, as I feel I have much more control over the display of stuff that way and it fits into the design I have better, even though I know it's not particularly the best and cleanest coding method.
i tried to change the div tags around, but still couldnt figure it out:confused:
Hi,
You don't have a table set-up it is all floating.
If you have a webpage editor you can edit the index.tpl in that.
Set-up a table and put what you want where you want.
My site is based on a table 4x1 with some cells split into multi rows.
John
Hi,
You don't have a table set-up it is all floating.
If you have a webpage editor you can edit the index.tpl in that.
Set-up a table and put what you want where you want.
My site is based on a table 4x1 with some cells split into multi rows.
John
what webpage editor do you recommend??
I just use Frontpage but I sure there a loads out there that are just as good or better.
The Template files are not in tables so they just float around, I prefer to work in tables that way I get more control of where each item is.
John
ok. i have front page. i have opened the index.tlp file. so u have to edit the code yourself ? how can you preview what you do ? i just see the code of the body.
when i click insert table, it inserts a table, then what ?
Re: Question about Web Page Editor
If you are in this for the long haul and will be building loads of landing pages, more websites etc etc then I would say Dreamweaver CS3
I use it every day - not the cheapest but more or less the industry standard - steep learning curve to make good use of it but well worth it
Mel:)
ok thanks. i'll check dream weaver out
I rarely use table nowadays but here is an idea for a centered table fixed width 800 pixels with a 1 pixel border which you could change to zero "0"
The left column will be your main nav, the center for product descriptions and the right hand column for banners or whatever you choose to put in there
<table width="800" border="1" cellspacing="0" cellpadding="5" align="center">
<tr>
<td width="140">Nav goes here</td>
<td>Products here</td>
<td width="140">Your Choice</td>
</tr>
</table>
Mel
thanks mel. managed to implement the code. will do for the short term, until i learn some more
If you build your table in Front Page or any other editor with preview you can then put the coded parts into the cells you want.
The you don't have to do too much with the code, just fromat the tables.
If you want to do the "inculdes" tpl files then this time open the file make the table but just cut the code for the table and paste it with a text editor into the tpl file.
My site has 4 tables, Table 1 Header, Table 2 Main View, Table 3 Footer.
John