Previous Message
Next Message

Wrapper isn't wrapping!

Sent by Jim Davis on 8 April 2008 14:02


Stuart,

You have given the ul an id of mainNav and it is closed by </ul>. If you
had:
<div id="mainNav">
<ul>...</ul>
</div>
You would need the closing </div>.

Jim


On Tue, Apr 8, 2008 at 2:12 AM, Stuart Walsh [EMAIL-REMOVED]> wrote:

> Jim Davis wrote:
>
> > Hi again,
> >
> > Note:
> > <ul id="mainNav">
> > <li><a href="instrument.html">the instrument</a></li>
> > <li><a href="composers.html">composers</a></li>
> > <li><a href="music.html">music</a></li>
> > <li><a href="gallery.html">gallery</a></li>
> > <li><a href="#">links</a></li>
> > <li><a href="#">contact</a></li>
> >
> > </ul>
> > </div> *<<<<<<<THIS IS CLOSING #WRAPPER
> >
> > *Jim*
> > *
> >
>
>
> Many thanks for your  help. And thanks to others for their suggestions
> too.
>
> But  I still don't understand one particular thing, and I must be
> fundamentally misunderstanding something! Surely the </div> you have
> highlighted only closes the #mainNav div. Doesn't the overall #wrapper need
> a closing </div> too? I've looked over my html many times. I have  an
> overall wrapper div and within that a number of divs and all have their
> opening and closing tags.
>
> I've tried removing the final </div> which I had assumed was the closing
> </div> for the wrapper. Nothing happens - so I really must be doing
> something wrong.
>
>
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: