W3C home > Mailing lists > Public > www-validator@w3.org > October 2007

[VE][65] - Having Trouble Resolving This While Accomplishing What I Want

From: Steven <steven_schneider@telus.net>
Date: Sat, 27 Oct 2007 23:28:18 -0600
To: www-validator@w3.org
Message-ID: <20071028052818.GA10571@gemini.wss-ds.org>

Hello,

I'm not on the mailing list, so I'll try to be brief and to the
point.

I've made some changes to my personal webpages, which used to be
valid 4.01 Transitional HTML.  Now I get HTML errors in the validator 
and I'm having difficulty resolving them and accomplishing what I 
want to do.  My CSS _seems_ to check out, albeit with some warnings 
about colour.

http://www3.telus.net/~stvndi/

What I want to do is take my list of menu items at the top of the
webpage, and display them horizontally across the top.  It seems
that I should not use DIV tags in the way I have.  Yet using the DIV
tags in this manner has allowed me to accomplish my goal.  :-/

ie:

<ul>
      <div id="nav0">
           <li>
               <a href="some_link">Page1</a>
           </li>
      </div>
        .
        .
        .
</ul>

Gives me a horizontal menu, and errors in the validator.

<ul>
      <li>
           <div id="nav0">
                <a href="some_link">Page1</a>
           </div>
      </li>
        .
        .
        .
</ul>

Gets rid of the errors, but doesn't spread the menu out
horizontally.

Am I trying to go about this the wrong way?  Is there a canonical
method of accomplishing my goal using CSS and HTML?

Thank you for your time,

-- 
W. Steven Schneider  <steven_schneider@telus.net>
Received on Monday, 29 October 2007 16:16:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:26 GMT