Home : Products : Links 2.0 : Discussions :

Products: Links 2.0: Discussions: Re: [LordStryfe] Problem: Edit Log

Here is the list of edits for this post
Re: [LordStryfe] Problem
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

Edit Log: