On Mon, Oct 15, 2007 at 02:04:12PM +0100, Steve wrote:
On Sat, Oct 13, 2007 at 11:34:52AM +0100, Greg Thomas wrote:
On 12/10/2007, Chris G cl@isbd.net wrote:
I want to lay a list of items out as follows:-
item1 item2 item3 item4 item5
Wnat's the simplest way of doing this in HTML?
<ul><li>item1 <ul><li>Item2 <ul><li>item3 <ul><li>item4 <ul><li>item5 </ul></ul></ul></ul></ul>
Except you didn't close the <li>s
And the nesting was awful.
Something like: <ul> <li>item1 <ul> <li>item2 <ul> <li>item3 <ul> <li>item4</li> </ul> </li> </ul> </li> </ul> </li> </ul>
And for the styling: ul { list-style: none; margin: 0 0 0 0.5em; padding: 0; }
Should do it.
Cheers, Brett.