The errors, many of them, are happening because you are using an XHTML doctype and your code is not following all of the rules for XHTML. If you're going to use XHTML, then ALL tags MUST be closed, including meta, link, br and img tags. That means closing the tag (as noted above) with a slash before the closing > - like this :
Quote:
|
<meta name="verify-v1" content="5Z+G0cgVCQt9utER3XrnUWxaPE9ykJSVhmUraQrdW To=" />
|
You have invalidly nested code:
Quote:
<div id="minicart"><a href="/cart" title="Your Shopping Bag is Empty!"><span class="text off">Your Shopping Bag is Empty!</span>
<div id="bag">0</div>
</a></div>
|
You can NOT wrap a block level element, such as a div, inside an inline element, in this case, the <a></a>. You also cannot do this:
Quote:
<a href="/products/mango-wood-vase-3" title="Click here to View this Product"><img src="http://static2.shopify.com/s/files/1/0001/0607/products/p1030840_small.jpg?1236416665" />
<p class="desc">Mango Wood Vase</p>
</a>
|
Again, you're wrapping a <p> inside an <a> - not allowed. Put the link INSIDE the <p></p>.
There is no such thing as alt TAGS, they are ATTRIBUTES, and yes, in XHTML if you MUST define an alt ATTRIBUTE for EVERY image, even if it's a null, like this: alt="" - though that's not recommended if the image is not just decorative.
There is a tutorial on XHTML here: http://www.w3schools.com/Xhtml/
Other things:
When you float a <div> you MUST define a width - so you need a width on #main-content-side-border, #side, #home-page-intro, and any other's you've floated w/o widths.
The lack of widths WILL cause the float-drop you're seeing in IE. It is also caused because your widths do not add up when you also add in the margins and padding you've added on TOP of the box width. Remove the padding on #main and it will pull up where it belongs.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
Last edited by LadynRed; 03-08-2009 at 09:57 AM..
|