6 replies [Last post]
millercj
Offline
Regular
Last seen: 14 years 35 weeks ago
Joined: 2007-12-10
Posts: 17
Points: 0

I've created a strict doctype page and there for must make nested lists as follows:









So i've implemented the example into my code and i thought all was well until i tested it in IE (surprise surprise).

When i look at it the third li which the second ul is nested in it shows on it's own line in IE but not firefox.

you can view it at http://stjohns.digiconmediagroup.com/aboutus/joel.php

I'm not sure how to get rid of it

Ed Seedhouse
Ed Seedhouse's picture
Offline
Guru
Victoria British Columbia
Last seen: 1 year 41 weeks ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

That is not valid syntax.

That is not valid syntax. LI is the only allowed child of UL. Any nested ULs must be within one of the LI's in the parent list.

Bit me dozens of times before I finally caught on.

Ed Seedhouse

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.

millercj
Offline
Regular
Last seen: 14 years 35 weeks ago
Joined: 2007-12-10
Posts: 17
Points: 0

Sorry, I typed the syntax

Sorry, I typed the syntax example wrong this is out of the actual code which is malfunctioning...

  • Rev. Joel Risser
    • Letter to the Congregation
    • Blog
  • To Our Visitors
  • Church Staff
  • Tour St. John's

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 39 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Not tested. Move the

Not tested.

Move the sub-menu into the li it's a sub of. That's the more true structure anyway.



  • Rev. Joel Risser

    • Letter to the Congregation

    • Blog



  • To Our Visitors

  • Church Staff

  • Tour St. John's


Take care. That may have unintended consequences, considering your images.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

millercj
Offline
Regular
Last seen: 14 years 35 weeks ago
Joined: 2007-12-10
Posts: 17
Points: 0

that's not valid xhtml

that's not valid xhtml strict...all nested ul's have to be part of a preceding li...thanks for the try though

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 39 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Look again. gary

Look again.

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

millercj
Offline
Regular
Last seen: 14 years 35 weeks ago
Joined: 2007-12-10
Posts: 17
Points: 0

Oooo...my bad, i missed

Oooo...my bad, i missed that, and i believe it corrected my issue...thanks!