| Mozilla firefox hacks
|
jelly46

msg:4399495 | 8:23 pm on Dec 19, 2011 (gmt 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. Cheers
|
rainborick

msg:4399957 | 5:33 am on Dec 21, 2011 (gmt 0) | 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.
|
|
|