Click to See Complete Forum and Search --> : Phantom Padding on input in IE7, not in FF
iziizi
07-19-2007, 06:25 AM
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
Luke2000
07-19-2007, 06:28 AM
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.
iziizi
07-19-2007, 06:43 AM
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.
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!
iziizi
07-19-2007, 07:06 AM
its ok, i have found a work around.
Cheers
Luke2000
07-19-2007, 07:12 AM
care to share? :D
iziizi
07-19-2007, 08:35 AM
care to share? :D
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! :)