hi,
for a vertical navigation bar with multiple headings like this:
div class=navcontainer
h3Buncrana Town/h3
ul
lia href=#Business Directory/a/li
lia href=#Accomodation Directory/a/li
.
/ul
h3Community/h3
ul
lia href=#Groups/a/li
I would use:
ul id=nav-bananas
li
h3Buncrana Town/h3
ul
lia href="" Directory/a/li
lia href="" Directory/a/li
/ul
/li
li
h3Community/h3
ul
lia href="">
lia href="">
/ul
/li
/ul
Where 'bananas' is replaced with a semantically suitable name such as main for main navigation or supp
ok thanks,
just to clarify a point: what odds that the ul id have a semantically
suitable name-beside making sense to people working in the code after me?
-thanks again
kvnmcewbn
**
The discussion list for http://webstandardsgroup.org/
See
Exactly for that point; IMHO decribing the content rather than the
presentation makes your markup easier to read, style and manage by
whomever - users, coders, accessibility tools, browsers, search
engines, and yourself, this is why web standards are so
important. Some interesting reading on
Paul,
on Tuesday, January 31, 2006 at 11:39 wsg@webstandardsgroup.org wrote:
What's wrong with this?
hxThe following are the days of the week/hx
ol
liMonday/li
liTuesday/li
liWednesday/li
/ol
regards
Martin
**
The discussion
Regrettably not. I'd also love some way to associate a header element
with content, much like fieldset's legend element does, but
unfortunately (or perhaps fortunately, because it'd be potentially
hellish to make work consistently with some automated content
management stuff!) no such thing
Sarcasm Alert :)
!--[if ! Moral High-Horse Police]
or... you could use a definition list:
dl
dtDays of the Week/dt
dd
dl
dtDay 0/dt
ddSunday/dd
dtDay 1/dt
ddMonday/dd
On 31/01/2006, at 8:39 PM, Paul Collins wrote:
Just wondering if there is such a thing as a header tag for a HTML
list, ul or ol, such as the TH tag or the Summary tag for a table?
No, sadly. The only way to 'associate' a header with some following
content is to wrap the set in a div, or
G'day Paul,
I haven't done coding on this, however I think it may be possible by
setting a class for your bold heading with no bottom padding or margin
and then using an ordered list.
Regards,
Ric
Paul Collins wrote:
Paul Collins wrote:
Hello all.
Just wondering if there is such a
Message -
From:
Stephen
Stagg
To: wsg@webstandardsgroup.org
Sent: Tuesday, January 31, 2006 11:33
AM
Subject: Re: [WSG] list's with header
text
Sarcasm Alert :)!--[if ! Moral High-Horse
Police]or... you could use a definition
list:dldtDays of the
Week/dtdddldtDay
workwell though, just
a whim really.
Cheers mate
Paul
- Original Message -
From:
Ric Raftis
To: wsg@webstandardsgroup.org
Sent: Tuesday, January 31, 2006 11:43
AM
Subject: Re: [WSG] list's with header
text
G'day Paul,I haven't done coding on this, however I
think
Lea de Groot
Wouldn't
h2 for=mylist/h2
ol id=mylist/ol
be nice? :)
So what do you do when you have 2 or more elements that the heading refers to?
h2 for=mypara1 mypara2/h2
p id=mypara1/p
p id=mypara2/p
etc?
It's not really a scalable solution, IMHO.
As someone already mentioned, the
patrick wrote
As someone already mentioned, the source order should be enough to inform
what the heading refers to, without the need for explicit association.
sorry i dont understand this could someone please explain?
-best
kvnmcwebn
**
The
kvnmcwebn
patrick wrote
As someone already mentioned, the source order should be
enough to inform
what the heading refers to, without the need for explicit
association.
sorry i dont understand this could someone please explain?
If you have a heading, followed by some other content
On 31/01/2006, at 10:54 PM, Patrick Lauke wrote:
It's not really a scalable solution, IMHO.
Possibly true, but it doesn't make the concept entirely useless.
As someone already mentioned, the source order should be enough to
inform what the heading refers to, without the need for explicit
15 matches
Mail list logo