I thought this was a mailing list about web standards and semantics.
<p>item 1 | item 2 | item 3</p>
Doesn't mean anything semantically, it's telling me that their is a
paragraph with a bunch items in it and something called a pipe between
them, I don't know what a pipe is because I'm a blind musician looking
up new songs that I can busk down on Swanston Street. Where as:
<ul id="menu">
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
</ul>
Tells me there is a *list* of *items* in a *menu*. Now I don't really
care which way you do it because frankly both are going to work for most
people, however if you want to adhere to the semantic web then you
should build it the second way. Personally I think it looks better in an
<li> when CSS is disabled.
Samuel
Geoff Pack wrote:
Samuel Richardson wrote:
Why are you using pipes in the first place? Why is a <li> with
border-right : 1px solid black; styled on it and spaced out
with margins
and padding not sufficient? This smacks of using for layout.
Why? because it's more concise, uses less bandwidth, and looks the way I want
it to when CSS is off. And is no less correct.
This:
#menu li {display:inline; padding-right:0.5em; margin-right:0.5em;
border-right:1px solid #000;}
<ul id="menu">
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
</ul>
Or:
<p>item 1 | item 2 | item 3</p>
Geoff.
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************