Click to See Complete Forum and Search --> : Page not validating, nesting a table in a p?
sisko
08-16-2004, 04:24 PM
I can't get this site to validate, and I don't understand why.
http://www.hakanai.net/maxlords/index.htm
It looks fine in NN, IE, and Opera but not in firefox.
This is the validation error I am getting:
Line 56, column 6: document type does not allow element "table" here; missing one of "object", "ins", "del", "map", "button" start-tag
As far as I can tell, all of my tags are properly closed, and I'm not trying to nest in inline element.
Suggestions?
Take the table out of the <P> tags.
By the way, excellent layout! You might want to look into using unordered lists for your navigation, though, to make things more accessible.
JPnyc
08-16-2004, 04:58 PM
Can't get it to load at all.
sisko
08-16-2004, 05:51 PM
Thank you :)
I would have preferred the table to be nested in with the P tag, though I guess its not all that important. At least it validates now, which is much more important.
As for the unordered lists, thats what I had before, but it wouldn't sit right unless I used negative margins so I abandoned it. Sorry for dragging up a web design 101 lesson, but how do they make the page more accessible?
I also just noticed that the page is blank when using Lynx. I know its accessing the page because I can view the source. The only thing I can think of is that I am using the wrong char-set, but I am using the same set on other pages that do work in Lynx. What am I doing wrong?
I've copied your document, and modified the code. View your modified document (http://66.170.214.217/jona/research/layouts/sisko/layout.htm). I made the navigation an unordered list, so that the navigation is more accessible. Though, I'd suggest a skip-navigation link, and I don't recommend using absolute positioning in CSS (as it violates priority 2 of the WCAG 1.0).
sisko
08-16-2004, 07:27 PM
Found the problem with Lynx. I closed the script tag with /> instead of </script>
I never thought about a skip navigation link, I'll go ahead an implement one later.
As for the WCAG....I didn't even know it existed. I'm reading up on it now.
Thanks :)