You are here: Re: Commas in list markup « HTML « IT news, forums, messages
Re: Commas in list markup

Posted by Rene Pot on 05/04/06 21:54

arbpen wrote:
> I have a list of states that are going to be displayed horrizonally (or
> vertically without CSS), and I am trying to decide if I should use
> commas. Usually, I use a little padding and a border to visually
> separate the items, but the commas _look_ better. I am wondering what
> a screen reader is going to do with this kind of markup.
>
> Markup:
> <li><a href="#al">Alabama,</li>
> <li><a href="#ak">Alaska,</li>
>
> Which would display as Alabama, Alaska. But, I don't know what a
> screen reader would do with it. Like LINK TO BLA OPEN state COMMA LINK
> TO BLA CLOSED
>
> If some kind person could go to
> http://www.visionforglendale.com/usenet/testingcommas.html and listen
> to it, I would really appreciate it.
>
> --
> Adrienne Boswell at work
> http://atlas.nextblock.com/files/
> Please respond to the group so others can share
>

If you just check the source:

<style type="text/css">
ul {list-style-type: none; margin:0}
li {display:inline; padding-right:.5em; }
</style>
</head>
<body>
<h1>Testing Commas in List Markup</h1>
<p>Below is a small list of states in the United States.</p>
<ul>
<li><a href="#al">Alabama,</a></li>

<li><a href="#ak">Alaska,</a></li>
<li><a href="#az">Arizona</a></li>
</ul>

That shows a CSS part in the script. Does this work?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация