Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Re: [LordStryfe] Problem

Quote Reply
Re: [LordStryfe] Problem In reply to
Check your code in the sub print_cat. Your output is creating this:

Code:
<div class="margin"><table width="80%" border="0" cellspacing="0" cellpadding="0"><tr><td class="catlist" valign="top">
<div class="margin"><table width="80%" border="0" cellspacing="0" cellpadding="0"><tr><td class="catlist" valign="top">




So you're taking a 600px wide table, and using 80% of it, about 475px, then 80% of that, for for around 360px, and then splitting that into two columns, for about 180px each. Or so... But when I load the code into a 'web page creator' program, it APPEARS to be OK. But then I start checking the details, and there's a 600px wide table containg a 1249px wide cell, which contains a 784px wide table with two 392px wide cells.

Go through all your HTML code very carefully, looking at the sub print_cat, and the templates, particuarly home.html and category.html. Make sure everything fits together properly. Look at your page linked above, hit view source, print that out, and go over it, you will see what needs changing.

It helps to put comments in the code, so you know what is coming from where: if you're using headers and footer, mark where they begin and end (<!-- begin header -->, etc) and also in print_cat (<!-- begin print_cat output -->). This will help you see how things are going together, and where to make changes.


Leonard
aka PerlFlunkie

Last edited by:

PerlFlunkie: Jan 1, 2003, 1:08 AM
Subject Author Views Date
Thread Problem LordStryfe 6057 Dec 1, 2002, 3:30 PM
Thread Re: [LordStryfe] Problem
LordStryfe 5952 Dec 1, 2002, 7:21 PM
Thread Re: [LordStryfe] Problem
LordStryfe 5987 Dec 1, 2002, 7:30 PM
Thread Re: [LordStryfe] Problem
PerlFlunkie 5962 Dec 1, 2002, 10:40 PM
Thread Re: [PerlFlunkie] Problem
LordStryfe 5937 Dec 2, 2002, 5:02 AM
Thread Re: [LordStryfe] Problem
LordStryfe 5836 Dec 31, 2002, 9:57 PM
Thread Re: [LordStryfe] Problem
PerlFlunkie 5837 Jan 1, 2003, 1:05 AM
Thread Re: [PerlFlunkie] Problem
LordStryfe 5828 Jan 1, 2003, 8:30 PM
Thread Re: [LordStryfe] Problem
LordStryfe 5913 Jan 1, 2003, 9:27 PM
Post Re: [LordStryfe] Problem
PerlFlunkie 5820 Jan 2, 2003, 12:35 AM