Help - Search - Members - Calendar
Full Version: HTML and Navigation Bar Alignment problem
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
Kat
Hi, all. I'm new here and I bring a problem with me.

I am learning HTML and am coding a web page for my class. I created a website using nested tables to create the 3-tiered background appearance. I then am trying to add navigation buttons on the left-hand side along with my information in the tables themselves. My problem is that I cannot figure out how to make them align correctly.

I know that if I was to use a WYSIWYG program, I could have the program to this for me, but I'd really like to understand how to code it myself. I am including the link to my page that I'm creating. Any help that you could offer me would be great.


Thank you in advance

~Kat



http://www.geocities.com/kaw56789/


ps: yes, I know its a free site with annoying popup adds, but it is just for my class. The home page I am building for my family will be on our actual provider's pages.
jimlongo
Hi,

It's good you'd rather learn to do it right than have a WYSIWYG editor screw it up for you!

You have a lot of structural errors. 2 body tags, centered tables where you have \
CODE
<center><table></center></table>

should be
CODE
<center><table></table></center>


and H3 start tag closed by an H4 tag, unneccessary table tags, etc.,


You should learn to validate your pages as you go, that will help you to understand your errors and write cleaner code.
There is a link at the top of the page to the validator . . . here's the validation results

You might prefer this validator


Also you need a DOCTYPE declaration . . . either strict or transitional, but it might be easier with transitional to start.
http://htmlhelp.com/reference/html40/html/doctype.html
Kat
QUOTE(jimlongo @ Oct 13 2006, 08:43 AM) *

Hi,

It's good you'd rather learn to do it right than have a WYSIWYG editor screw it up for you!

You have a lot of structural errors. 2 body tags, centered tables where you have \
CODE
<center><table></center></table>

should be
CODE
<center><table></table></center>


and H3 start tag closed by an H4 tag, unneccessary table tags, etc.,


You should learn to validate your pages as you go, that will help you to understand your errors and write cleaner code.
There is a link at the top of the page to the validator . . . here's the validation results

You might prefer this validator


Also you need a DOCTYPE declaration . . . either strict or transitional, but it might be easier with transitional to start.
http://htmlhelp.com/reference/html40/html/doctype.html



Thank you for the help.. Let me see if I can make sense of that validation result and I'll report back! smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.