I'm getting this w3 error. Can someone figure out a fix please?
Quote:
-
Line 768, Column 109: document type does not allow element "a" here.?eturn hs.close(this)" class="control"><img src="http://www.talkjesus.com/gold ✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
|
Some CSS errors also:
Quote:
W3C CSS Validator results for http://www.talkjesus.com/ (CSS level 2.1)
Sorry! We found the following errors (14)
URI : http://www.talkjesus.com/
743 .closebutton Property _background doesn't exist : none
743 .closebutton attempt to find a semi-colon before the property name. add it
743 .closebutton Property progid doesn't exist : DXImageTransform
743 .closebutton Parse Error DXImageTransform.Microsoft.AlphaImageLoader(src='g oldbrick/images/close.png', sizingMethod='scale');
743 background Parse Error background:url(goldbrick/images/close.png);
743 Unknown pseudo-element or pseudo-class ointer
743 cursor Parse Error pointer;
743 height Parse Error height:30px;
743 left Parse Error left:15px;
743 Unknown pseudo-element or pseudo-class :relative
743 position Parse Error relative;
743 top Parse Error top:-15px;
743 width Parse Error width:30px;
743 width Parse error - Unrecognized ;}
|
Which appears to be coming from the goldbrick_header template, this line
Code:
/* Mac-style close button */.closebutton{_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='goldbrick/images/close.png', sizingMethod='scale');background:url(goldbrick/images/close.png);cursor:pointer;height:30px;left:15px;position:relative;top:-15px;width:30px;}
I used a CSS cleaner tool and come up with this:
Errors remained. I then removed these two lines and the css errors were gone
Quote:
_background:none;
_filter rogid XImageTransform.Microsoft.AlphaIma geLoader(src='goldbrick/images
|
I tested it afterwards in IE7 and Firefox 3. Worked fine, noticed no difference.
Also, any plans to add SlideShare? That would be awesome.