Forum Moderators: not2easy
By itself, the declaration doesn't seem to make sense. You are positioning to the right with margin: and float: - Why both? I would pick one.
The top: looks kind of screwy also. Does it need positioning this way? Why not the simpler margin: ?
At any rate, I am not seeing significant rendering difference in FF 3.5.1 and IE7. Which version IE is 'perfect.?
There could be several options to work with.
My recommendation is to strip the HTML and CSS down to the problem itself by commenting out extraneous markup unrelated to the problem. If the fix is not found during this process, post the test ready code that replicates the problem and we will look at the options.
#1 - Validated code prevents and fixes a lot of problems. Validate your code. That will avoid, eliminate, or rule out many problems.
W3C (X)HTML Validator [validator.w3.org]
W3C CSS Validator [jigsaw.w3.org]
XHTML:
37 Errors, 9 warnings
CSS:
10 Errors, 125 warnings