Info
- 3 posts
- 2 voices
- Started 3 years ago by jmilli
- Latest reply from jmilli
- This topic is resolved
Search button far from input box
-
- Posted 3 years ago #
I added a search box to header.php using this code:
<?php search_form( $q ); ?>However, the search button shows up all the way on the right side of the page and below the input box. Does anyone have any suggestions?
Here is my (work-in-progress not live) forums site where you can see the problem.
http://www.watchandtrain.com/dogforums/Thanks so much,
Jeff -
- Posted 3 years ago #
Looks fine in Firefox 3 or IE7 on Windows XP.
Does it happen with the stock theme?
Does your HTML validate?
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.watchandtrain.com%2Fdogforums%2FMy guess is that it's improperly marked up code causing it to do that to you. For example, you are using an unordered list
<ul>in the sidebar, but you're not using any list items<li>. That will surely cause problems. I'd fix the invalid markup before trying to fix this specific layout issue. -
- Posted 3 years ago #
Thanks for the reply. I actually found a different theme that suits my purposes better, but I appreciate your response. I will use your tip at a later date, I am sure.
-
You must log in to post.