Hey gnubler,
I’d recommend fixing the validation errors on your single.php page.
Also, your comments don’t seem to show because of a poorly-closed comment tag.
Look for this:
<!--<div class="boxedup">
<!-- You can start editing here. -->
The top comment isn’t closed there, so browsers are taking the closing bit from further down the page. In Firefox 3, the closing comes here:
<!--<small><strong>XHTML:</strong>
On another note, your links using target=”_blank” aren’t working because your pages are set with a DOCTYPE of Strict. If you change your DOCTYPE to transitional, they’ll validate, otherwise you need to use JavaScript to create links that open in new windows.
Hope this helps.
Thread Starter
748039
sewmyheadon, you are a true lord and master of WordPress poetry. Issues solved. I deleted all the commenting around the boxedup div and everything is good. Why it was commented, I know not.
I’ll look into the link targets you mentioned – the _blank targets are opening in new tabs in my Firefox and new windows in IE…are they not opening for you at all? Odd.
Thanks again. Solved.
gnubler,
Thanks for the niceties. 🙂
No, the links open just as intended in new windows or tabs, but using the target="_blank" with your theme causes you to have validation errors because target="_blank" isn’t valid markup for xhtml documents with a DOCTYPE of strict.
So, my guess is that you have a header.php file that begins with lines like:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
You could change the DOCTYPE for your site pages to xhtml Transitional by changing the above two lines to read:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
This will allow you to use target="_blank" without causing your page to fail validation.
Make sense?