Reputation: 1119
I'm now developing a website, I have a header as usual. But there is a problem in search textBox input with IE7. When I look at there with IE developer tools I see strange LEFT offset this is what the problem is actually. Any helps appreciated.
This is where you can see the problem
Upvotes: 4
Views: 3500
Reputation: 21
Try to enclose the field in a div. e.g.
<div><input type="text"></div>
Upvotes: 2
Reputation: 1974
add display:inline; to #searchBox
and addjust 1 or 2 px width of your button, problem will be solved
this problem arise in IE6 & 7, its called double float margin bug, when you apply margin to the first floating element, its margen get doubled in IE6 & 7.
Upvotes: 8
Reputation: 3123
It looks like this is the margin on #searchBox
- margin: 14px 0 0 97px
Changing the margin on #searchBox
will move the input field.
Upvotes: 0