Solved

IE7 floating issues with submit button and input field

Posted on 2012-03-15
2
429 Views
Last Modified: 2012-06-27
Hi,

I am working on a website for someone and i am trying to float the search elements left, or right, not really worried right now, but when i do it fails to appear correct in IE7. I thought i had cleared the floats but obviously either in the wrong place or totally wrong.

As it stands i have changed them by removing both float styles and just have them display:inline blocks, however this still didnt work.

Can anyone shine any light on the following address:

http://www.bluebean.org.uk/sites/tracynewman/

Thanks,

Andrew
0
Comment
Question by:Andy6350
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 22

Accepted Solution

by:
Kim Walker earned 500 total points
ID: 37726538
The problem appears to be that there just isn't enough room for them side-by-side and I suspect it has something to do with the word "SEARCH" being in a text input element. IE has it's own algorithm for determining the automatic width of an input element. Try giving the one with "SEARCH" in it a fixed width with no left or right padding, centered, and see if that helps.
0
 

Author Comment

by:Andy6350
ID: 37727140
ah yes, thank you, i have been changing width and padding on everything but the input button.

Thank you, works a charm.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question