View Full Version : Creating Valid HTML and white space
01-23-2005, 08:08 AM
In the process of updating the page at http://18.104.22.168/~tropotrav/home.html to be valid XHTML, I gained whitespace between the header table and the navigation table on the right side. I can't figure out why that happened or how to remedy it. Does anyone have any ideas?
Use the margin and border-spacing properties in your CSS. And why does it have to be valid XHTML? Your website uses loades of tables and all kinds of HTML attributes (like language and bgcolor). The syntax might be correct, but this is definetly not how XHTML is supposed to be used. I suggest you to go to HTML Dog (http://www.htmldog.com) and learn how XHTML should be used.
01-23-2005, 08:13 PM
You're right, I shouldn't be trying to be XHTML valid when I'm working with HTML. I was trying to learn what the differences are by going through the validation process and figuring out what's different.
Thanks for the link to HTML Dog, it looks like a great resource that I'm sure I'll find useful.
"Use the margin and border-spacing properties in your CSS."
I'd love to...and I've tried to...I was asking for specific advice as to what I'm doing wrong...specifically to that problem, not...
"...but this is definetly not how XHTML is supposed to be used."
I'm just trying to learn. This is a hobby for me. Sorry if my questions seem amatuerish but that's what I am.
"I suggest you to go to HTML Dog and learn how XHTML should be used."
Could you direct me to the part of that site that tells me "how XHTML should be used"?
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.