Jump to content
Sign in to follow this  
jmcdonaldmbcsolutionsnet

Paglines, Whitehouse, Top of Doc Navigation malfunctioning in IE (any version)

Recommended Posts

jmcdonaldmbcsolutionsnet

Hi, I've got Whitehouse theme working on www.thinkworldclass.com it is operating badly. Here's what is happening: Home page, everthing OK Click on a document header - launches blog entry Blog entry is either squished to the right or the left. I believe this has something to do with the top navigation, next entry, previous entry. Everything looks great in Firefox and Safari. IE, wonky. What should I do. Here's a link: www.thinkworldclass.com

Share this post


Link to post
Share on other sites
Andrew

Did you disable plugins and check for markup issues (use w3 validator)?

Share this post


Link to post
Share on other sites
jmcdonaldmbcsolutionsnet

I disabled all plugins but I didn't check for markup issues. I'll do that next. Thanks, John

Share this post


Link to post
Share on other sites
jmcdonaldmbcsolutionsnet

Here's what I get when I run html tidy on the site: There are three errors: 1. Error Line 230, Column 42: there is no attribute "role" <div id="sidebar" role="complimentary"> You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead). This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information. How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash. 2. Error Line 361, Column 44: ID "searchform" already defined <form method="get" id="searchform" class="" action="http://www.??¦'>http://www.??¦ An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element). 3. Info Line 232, Column 46: ID "searchform" first defined here <form method="get" id="searchform" class="" action="http://www.??¦'>http://www.??¦ 4. Error Line 363, Column 72: ID "s" already defined ...pe="text" value="Search" name="s" id="s" onfocus="if (this.value == 'Search') ??¦ An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element). 5. Info Line 234, Column 74: ID "s" first defined here ...pe="text" value="Search" name="s" id="s" onfocus="if (this.value == 'Search') ??¦ Really, I don't have any idea of what to do with this. If I change the way the software is using variables then I'm hooped. This seems to be a core coding issue. Does anyone agree?

Share this post


Link to post
Share on other sites
cmunns

The first error is actually something that WP has in their core code but it does not affect anything. You can delete role="complementary" if you want to. As far as searchform it sounds like you simply have two searchforms on the page being validated.

Share this post


Link to post
Share on other sites
jmcdonaldmbcsolutionsnet

I don't think that any of the errors listed above have anything to do with the error. The, search forms, are easy to change - but the nav buttons at the top of the posts; how do I handle the issue with that?

Share this post


Link to post
Share on other sites
jmcdonaldmbcsolutionsnet

Here's what I did - commented out the code responsible for the problem. Cheers, John <!--<div class="post-nav"> <span class="previous"><?php previous_post_link('%link') ?></span> <span class="next"><?php next_post_link('%link') ?></span></div>-->

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×