/    Sign up×
Community /Pin to ProfileBookmark

Phantom Padding on input in IE7, not in FF

He all,

In IE7 i have some phantom padding around an input, in FF it does not exist. I have a style * margin and padding set to 0px, so this must be a bug i am unaware of in IE7. I am new to CSS so if any one knows a work around that would be great. I have attached some images of the issue.

loginIE7 is what it looks like in IE7, loginFF is what it looks like in firefox.

Thanks

[upl-file uuid=53b3dc36-7017-4028-828e-4440d24ceee9 size=5kB]loginIE7.jpg[/upl-file]

[upl-file uuid=8069de62-1105-4331-a003-199a9ecd6587 size=5kB]loginFF.jpg[/upl-file]

to post a comment
CSS

5 Comments(s)

Copy linkTweet thisAlerts:
@Luke2000Jul 19.2007 — I hate IE, I have this problem with images in divs etc... very odd.

I get round by using something along these lines:

/* I hate IE */_margin-bottom: -4px;

The I hate IE is optional.... lol.

The underscore makes it so that only IE will parse it because it is more lenient than FF.

Hope that helps.
Copy linkTweet thisAlerts:
@iziiziauthorJul 19.2007 — I hate IE, I have this problem with images in divs etc... very odd.

I get round by using something along these lines:

/* I hate IE */_margin-bottom: -4px;

The I hate IE is optional.... lol.

The underscore makes it so that only IE will parse it because it is more lenient than FF.

Hope that helps.[/QUOTE]


thanks for that.

hacks are ok, but in feature firefox may become more lenient meaning i have to go back over and do it again. Does anyone else know any other ways round it?

I hate IE7/IE6 so much. make a web developers life a misery at times!
Copy linkTweet thisAlerts:
@iziiziauthorJul 19.2007 — its ok, i have found a work around.

Cheers
Copy linkTweet thisAlerts:
@Luke2000Jul 19.2007 — care to share? ?
Copy linkTweet thisAlerts:
@iziiziauthorJul 19.2007 — care to share? ?[/QUOTE]


well it was one of those situations where i fiddled and dont really know what i did to get it to work. Putting heights and widths on parent elements helped i think. There is still a 1px difference but i am beyond giving a sh%t! ?
×

Success!

Help @iziizi spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...