Welcome to WebmasterWorld Guest from 54.145.166.96

Forum Moderators: incrediBILL

Message Too Old, No Replies

Firefox hack

to shift an image 1 px to the right

   
2:38 am on Mar 18, 2009 (gmt 0)

10+ Year Member



Back in the old days there was a hack where you could direct IE to see something a little different than FF. I think it looked something like this:

.header {position:absolute;
left: 1px;
_left: 2px;
}

where, I think, the underline represented what IE would see

Is there such a hack for FF 3.0 vs. IE 7?

I have a footer in a CMS that needs to nudge ONE PIXEL to the right, in FF only. It already looks fine in IE.

Any workarounds?

8:42 am on Mar 18, 2009 (gmt 0)

WebmasterWorld Senior Member dreamcatcher is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Personally, I would code for Firefox and use a IE conditional statement to remove the pixel shift in IE7.

dc

 

Featured Threads

Hot Threads This Week

Hot Threads This Month