PDA

View Full Version : Weird firefox bug



ajcates
January 8th, 2009, 06:14 AM
Link - http://satprepct.com/test/
Screenshot - http://ajcates.com/public/dump/wtfFirefox.png

So both the sign up buttons are identical in code but why are they displaying differently? Can some one please explain this to me?

shane-c
January 8th, 2009, 06:30 PM
The link gives me 404.

birdwing
January 8th, 2009, 07:42 PM
Is the top image in FF and the bottom one from IE?


If so Firefox places elements slightly higher than in IE the easiest way to fix this is to fix it in the CSS for firefox and then us a CSS hack OR more preferable the old

<!--[if IE]>
<style type="text/css">
_code for IE
</style>
<![endif]-->

You will run into things like this from time to time Its annoying but its technically NOT a bug.

ajcates
January 8th, 2009, 08:59 PM
No the image is from just firefox... same code applied to each item, being displayed in the same browser...

http://satprepct.com

Sorry about the 404, we just launched today. And some how it got fixed....

shane-c
January 9th, 2009, 12:33 AM
Weird. Well in firebug, in the layout view of the <a> element, the one that was off had a top offset value of -1, and the one that was correct had a top offset value of 0 (with respect to its parent, ie the <span>). Although I didn't look long enough to figure out why, since it's good now anyway.

Glad it worked out :beer:

ajcates
January 9th, 2009, 02:22 PM
Yea those buttons are amazingly cool css.