Log in

View Full Version : Downgrading to FF2 for inline-block testing.



jlizarraga
03-17-2009, 06:04 PM
Hi all,

Short back story:

I wrote a JS script that makes use of inline-block. Finally got to try it out in FF2 and -moz-inline-block didn't help, but I know there are some other -moz tricks that might be able to help.

Two questions:

1) Do you think I should even bother downgrading to get FF2 conforming, or are stats like these (http://marketshare.hitslink.com/browser-market-share.aspx?qprid=2) enough to say "RIP FF2"? I would feel dirty neglecting FF2 because the script works 100% in IE6 (via using "inline" over "inline-block"). Although there is a major difference in that FF2 users are constantly told they should upgrade by their browser. I'M SO CONFLICTED! :(

2) Is downgrading as safe as upgrading? When I'm done with my testing and upgrade back to FF3, how much of a hassle will it be? I assume bookmarks and the like will be saved, but I have a ton of extensions.

Thanks!

Master_script_maker
03-17-2009, 07:54 PM
Upgrading and downgrading with ff is very easy, just install the version you want and ff will change add ons to correct version and import bookmarks, etc..

jlizarraga
03-19-2009, 07:27 AM
Thanks, you were right it was very easy. It downgraded the addons and everything. :)

I just spent like 2 hours fighting its lack of proper inline-block, though.

-moz-inline-stack ended up being the solution to my particular setup, and I couldn't find a single mention of it anywhere except for here:

https://developer.mozilla.org/en/CSS/display#section_4

And there's no information about what it is or what it's for. Neither -moz-inline-block nor -moz-inline-box worked for me. I had links, divs, and an ordered list nested in the problem inline-block container, so my situation was weird I guess.

EDIT: Actually, I forgot I had some other more basic inline-block elements that were fixed with -moz-inline-box. :)