Sent by Doug Baker on 3 December 2002 15:03
According to my limited understanding of DTDs, its possible to
include more than one with a web page. What if someone wrote a simple
DTD that inluded an inline list element, such as <il></il> (suggested
by Big John - see below). Or with some navigation tags, such as
<nav></nav>.
If people are looking for a horizontal solution, these tags should
degrade gracefully if the browser can't read the DTD.
If this DTD were then made available to the developer community, we
could simply create our own solution to the problem.
Doug
Aaron Boodman wrote:
> > But there is no HTML structure that degrades to that
presentation, which
> > I feel is mostly because HTML was never intended to be used to
create
> > centralized navigation.
Daniel Gotilla wrote:
> Why not the following?:
> <style type="text/css">
> DIV#navigation {
> width: 20em; /* or whatever the largest menu item text is */
> }
> DIV#navigation A{
> display: block;
> width: 20em;
> }
> DIV#navigation SPAN.separator {
> display: none
> }
> </style>
> <div id="navigation">
> <A HREF="1.htm">Menu item 1</a><span
> class="separator"> | </span>
> <A HREF="2.htm">Menu item 2</a><span
> class="separator"> | </span>
> <A HREF="3.htm">Menu item 3</a><span
> class="separator"> | </span>
> <A HREF="4.htm">Menu item 4</a><span
> class="separator"> | </span>
> <A HREF="5.htm">Menu item 5</a>
> </div>
Big John wrote:
This method really just simulates the way an 'inline' <ul>
would behave (more or less). Too bad we ain't got one, eh?
Without a tag like <il>, (inline list)
it seems that this issue is unresolvable.
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
css-discuss [EMAIL-REMOVED]]
http://two.pairlist.net/mailman/listinfo/css-discuss
Sponsored by www.westciv.com - CSS resources | software | learning