At 04:24 PM 3/11/2005, Hassan Schroeder wrote:
Depending on what you're showing the code for, line numbers may be
almost essential, or at least very useful; here's a sample I did a
while back for someone to use as a model for a tutorial:

  <http://webtuitive.com/samples/code-as-list.html>

Of course, it doesn't do anything exciting in IE, since the example
uses ol:hover -- try it with Moz/Konqueror/Opera  :-)


Hassan,

Personally I would find your line-numbering technique more effective if the line numbers showed up by default (perhaps dimmed) [this would serve IE users as well], and then the current line and its number were highlighted on hover. Especially with indented code it's not always easy to track back over to the margin to see what line you're on.

Cheers,
Paul



****************************************************** The discussion list for http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to