Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

Mozilla firefox hacks

8:23 pm on Dec 19, 2011 (gmt 0)

New User

10+ Year Member

joined:Apr 20, 2007
posts: 10
votes: 0

Hello people

Merry xmas and all that jazz.

Can i ask does anyone know a good website that demonstrates css hacks for Mozilla Firefox.

Basically i don't know the syntax for this: .element-column-right-alpha-outer {margin-top:35px}

But only for firefox in the rest of the browsers it works ok but chrome is giving me problems, so i thought the work around would be for firefox.

5:33 am on Dec 21, 2011 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 15, 2003
votes: 28

If you're just setting margin-top on the CSS class 'element-column-right-alpha-outer', then you shouldn't need any hacks. I suspect that you're running into an issue with differences in the default margin or line-height in Chrome and the other browsers for the top-most element in the 'element-column-right-alpha-outer' container. Try Eric Meyer's CSS Reset file that initializes all HTML elements. It will probably mean you'll need to make some changes, but you should ultimately find that you're getting better cross-browser behavior.