Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Re: HTML nasty bug with tables....

Quote Reply
Re: HTML nasty bug with tables.... In reply to
Additionally, if you make the changes to nph-build to make it work, you need to remember that there are several (at least 3 other) places to change.

The What's New and Cool areas both use the same sort of logic, where the category name is inserted between links or groups of links.

If your link.html starts with a <tr> tag, then you probably will need to make changes to the embedded html to the two build subroutines.

You also need to add it to the search.cgi (I don't know about ni_search.cgi) where it outputs the linked category name.

Hopefully Alex will find a way to pull that out into something easier to edit. It might mean a change to the logic, and it's something to think about. Embedded html is a problem, as this shows.

Anything that outputs HTML to a template or file should be editable, to avoid problems like this.

This was a really obscure formatting bug, and now that I got it pretty well nailed, hopefully it will explain the bizzare behaviour that was bothering me for a long time!

I _think_ it's the <P> tags in the embedded HTML. By using <P> and </P> the text became a container, and the browsers handled it differently than expected -- they bubbled them to the top, rather than in-lining them as usually happens.

Anyway, this should help make the format changes to the New and Cool pages, and allow you some extra flexibility.





[This message has been edited by pugdog (edited November 29, 1999).]
Subject Author Views Date
Thread HTML nasty bug with tables.... pugdog 2446 Nov 28, 1999, 8:45 PM
Post Re: HTML nasty bug with tables....
pugdog 2368 Nov 29, 1999, 6:28 AM
Post Re: HTML nasty bug with tables....
dearnet 2365 Nov 29, 1999, 11:11 PM
Post Re: HTML nasty bug with tables....
widgetz 2363 Nov 30, 1999, 12:43 PM
Post Re: HTML nasty bug with tables....
pugdog 2368 Nov 30, 1999, 12:50 PM