If you or any CSS guru reading (where is Petruchio hiding when you need him?) wants to post a sample of the TOC's html with appropriate class settings etc, then id be happy to implement the code required.
My CSS skills/knowledge is on the low side so im not really sure what a CSS style monster would like to see. :-)
---
demerphq
First they ignore you, then they laugh at you, then they fight you, then you win.
-- Gandhi
• Update:
Part of the problem is that it has to look good for folks who dont have any CSS set up. So whatever gets posted needs to look reasonably good (no worse than now) without the correct CSS configured. Maybe im missing something here, but thats the way it seems to me now.
| [reply] [d/l] |
i'd rather see something like the sample html below. i don't understand the use of an unordered list with anchor tags and hard breaks instead of list items, and i think a table offers more control. note that i added a row header, "Table of Contents." also, i renamed the existing css class and added others, and added a comma-space-hard break after New Notes.
<table class="nnTOC" cellspacing="0">
<tr>
<th class="nnTOCtop" name="toc_top"><a href="#toc_top">Table of Conten
+ts</a></th>
</tr>
<tr>
<td class="nnTOCbody">
There are <br />
<a href="#toc_New Discussion">5 New Discussions</a>, <br />
<a href="#toc_New Questions">21 New Questions</a>, <br />
<a href="#toc_New Meditations">1 New Meditation</a>, <br />
<a href="#toc_New Patches">5 New Patches</a>, <br />
<a href="#toc_New Perl Announcements">1 New Perl Announ
+cement</a>, <br />
<a href="#toc_New Cool Uses For Perl">1 New Cool Use&nb
+sp;For Perl</a>, <br />
<a href="#toc_New Code">1 New Code</a>, <br />
<a href="#toc_New Notes">234 New Notes</a>, <br />
and <a href="#toc_New Users">12 New Users</a><br />
not yet reviewed...
</table>
here's how it looks:
no css changes are neccessary to view this properly in any browser. with a little css magic, it's possible to make the TOC body appear on fewer lines: <style> .nnTOCbody br { display: none; }</style>
let me know what you think.
| [reply] [d/l] [select] |
| [reply] [d/l] |