On Tue, 18 Mar 2003, Lee Daniel Crocker wrote:
OK, the question marks have to stay. Mybe we can tighten up that awful HTML code a bit.
It should be possible to squeeze it all into a single <a>, something like:
<a class="newlink" href="..." title="Edit 'Page title'"> <span class="edge">[</span> <span class="text">Page title</span> <span class="edge">]</span> <span class="q">?</span> </a>
(Whitespace is for illustrative purposes only. A couple bytes could be saved with shorter class names, of course...)
// Redlinks a.newlink .edge, a.newlink .q { display: none } a.newlink .text { color: red }
// ? links a.newlink .edge, a.newlink .text { font-style: normal; font-color: inherit }
Might need some more tweaking to make the text color inherit properly, but i think the html markup would be okay.
-- brion vibber (brion @ pobox.com)