Ok I am learning xhtml and CSS. I am not at all new to web development but 
relying heavily on CSS is new to me. Is align="center" deprecated for XHTML? 
Also how do I align content center with div tags. I am trying not to use any 
tables. All I want is my "navBar" to align center on the page.
It doesn't work with text-align or margin-left:auto;margin-right:auto; or 
align="center" in the div tag. I can center using a table but I don't wnat to 
use any tables.

Thanks!

My xhtml within the body tag

 <div id="backGrnd">
       <div id="navBar">
        <ul>
         <li><a href="#">Upcoming Events</a></li>
         <li><a href="#">About Us</a></li>
         <li><a href="#">Contact Us</a></li>
         <li><a href="#">Rules</a></li>
         <li><a href="#">Fighters</a></li>  
        </ul>
       </div>
</div>

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to