Hi Lynette,

I see what you are asking now - this would probably need to be refactored to have it validate.

Cheers,
Anthony.

Lynette Smith wrote:
Thanks Anthony - I've corrected that - but won't the repetition of  <ul id>'s stop it validating?

The first list has a nested list correctly inside of the list item, however your subsequent list items end the list item element before the new nested list begins...

e.g:

<li><a href="">WEED SPECIES</a></li>
                    <ul id="subnavlist">
                        <li id="subactive"><a href="" id="subcurrent">Watsonia</a></li>
                        <li><a href="">Oxalis</a></li>
                        <li><a href="">Carnation Weed</a></li>
                        <li><a href="">Taro</a></li>
                    </ul>

should be:

<li><a href="">WEED SPECIES</a>
                    <ul id="subnavlist">
                        <li id="subactive"><a href="" id="subcurrent">Watsonia</a></li>
                        <li><a href="">Oxalis</a></li>
                        <li><a href="">Carnation Weed</a></li>
                        <li><a href="">Taro</a></li>
                    </ul>
</li>



Because of the repetition of  things like <ul id="subnavlist"> it is not validating.  The first section (only bit actually with pages) looks good and works.
The example on A List Apart only dealt with subitems in the first section  so I am not sure if I am meant to put in "subactive", "current" and so on for every section or not.
For example, in the line  <li><a href="">Projects</a></li>, should that be <li id="subactive"><a href="" id="subcurrent">Projects</a></li>?
Am I meant to put in <ul id="subnavlist"> at the start of every sub-section?

.

*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to