W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2002

Is this a good hack?

From: Seth Rothberg <sethmr@bellatlantic.net>
Date: Mon, 25 Feb 2002 10:22:09 -0500
To: w3c-wai-ig@w3.org
Message-Id: <20020225152210.YBKE7202.out001.verizon.net@there>
Hi,

I've spent the morning playing with a part of a web page that contains a 
bunch of what I call news tidbits. Visually, it's easy to distinguish between 
the items. But when I listened to them in Home Page Reader, they all just 
seemed to run together. 

So what I did was to turn the set of tidbits into an ordered list and then 
turned off the visual display of numerals. The two style rules are:

ol.whatsnew { margin-left:0 }
li.off { list-style-type:none; margin-left:0; margin-bottom:1%; }

This displays pretty much as I'd like it to in IE6 and Opera. And is 
acceptable in Netscape (which doesn't hide the numbering as requested) and 
Mozilla (which indents the list items more than I would really like it to).

What's interesting to me is that Home Page Reader still enumerates the list 
items. 

O.k. sorry about the long windup. My questions are: Is Home Page Reader 
behaving correctly and, if not, have I discovered a decent hack?

If you're interested, take a look at the page in question at 
<http://www.joneslibrary.org/index_next.html>. The code I'm asking about is 
in the What's New section.

Thanks,

Seth
Received on Monday, 25 February 2002 10:22:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:00 GMT