I've posted before how to change the look of the new and cool areas (avoiding the group by category) "feature".
Some notes about what is where in which files
nph-build.cgi is not the only place that writes out embedded HTML tags around links.html or subcategory.html results.
search.cgi outputs a linked title surrounded by P tags. If you put table formatting in your search-results.html file, you need to make sure that you take that into account, since it can cause crazy formatting errors if the bare P tags are inserted into tables between anything but TD tags.
nph-build.cgi has the print-cat routine, which also outputs formatting HTML. Same for the new page and top-10
page.cgi has the same routines for dynamic builds.
The easiest way to avoid this is to make sure your link.html and subcategory.html files are a stand-alone html block, either inside P or TABLE tags. Sometimes, for advanced formatting, this isn't always the best, and you are tempted to make the entry a ROW (TR tags) or ELEMENT (TD tags) in a larger puzzle. If you do, you need to be aware of all the places extra html is written out.
-- ESPECIALLY where the category names are inserted between link entries!!
What happens, is the P block is inserted between the /TR and TR tags, and MSIE tries to interpret it as floating-blocks of CSS, netscape often dies, and sometimes MSIE will simply ignore the blocks!
It's very strange behaviour for die-hard HTML coders, since it's a quirk in the .css rendering engines and not the HTML so it's not really obvious what is broken or even going on. It's like two element blocks are fighting for the same space, and the P blocks are floated to the top, and the TABLE and TR blocks are kept in order.
------------------
POSTCARDS.COM -- Everything Postcards on the Internet www.postcards.com
LinkSQL FAQ: www.postcards.com/FAQ/LinkSQL/
Some notes about what is where in which files
nph-build.cgi is not the only place that writes out embedded HTML tags around links.html or subcategory.html results.
search.cgi outputs a linked title surrounded by P tags. If you put table formatting in your search-results.html file, you need to make sure that you take that into account, since it can cause crazy formatting errors if the bare P tags are inserted into tables between anything but TD tags.
nph-build.cgi has the print-cat routine, which also outputs formatting HTML. Same for the new page and top-10
page.cgi has the same routines for dynamic builds.
The easiest way to avoid this is to make sure your link.html and subcategory.html files are a stand-alone html block, either inside P or TABLE tags. Sometimes, for advanced formatting, this isn't always the best, and you are tempted to make the entry a ROW (TR tags) or ELEMENT (TD tags) in a larger puzzle. If you do, you need to be aware of all the places extra html is written out.
-- ESPECIALLY where the category names are inserted between link entries!!
What happens, is the P block is inserted between the /TR and TR tags, and MSIE tries to interpret it as floating-blocks of CSS, netscape often dies, and sometimes MSIE will simply ignore the blocks!
It's very strange behaviour for die-hard HTML coders, since it's a quirk in the .css rendering engines and not the HTML so it's not really obvious what is broken or even going on. It's like two element blocks are fighting for the same space, and the P blocks are floated to the top, and the TABLE and TR blocks are kept in order.
------------------
POSTCARDS.COM -- Everything Postcards on the Internet www.postcards.com
LinkSQL FAQ: www.postcards.com/FAQ/LinkSQL/