PDA

View Full Version : Is it worth customizing layout for firefox 2 only?


derfelix
03-25-2009, 09:54 AM
Hello everybody..
I am working on a layout that is mainly tablefree...
Some parts use special visual effects... using css inline-block..
Works fine in all browsers (tested from IE5.5 up, opera 7, safari 3, chrome, and firefox 3)
BUT layout is completely broken in firefox 2, because it doesnt recognize inline-block.

I use -moz-inline-box instead for firefox 2, but it doesnt give the expected result..

MY question: are there still lots of firefox 2 users out there? is it worth it to change a layout completely just for firefox 2 users only?
OR can I assume that most firefox users have upgraded to firefox 3. ???? ( i read that over 3 million downloaded FF3 the first day it came out...)


Thanx for your advice...

Luc

PS: if someone wants to know why i need the inline-block, its for a gallery, i do NOT want it floated left.. but centered.. dynamically .. having the a variable amount of thumbnails per line, depending on the browser window size...
Centered because if i float it left, i will have a 2x as big margin left, when i resize the browser window...
As an example sites that use this technique.. are deviantart.com...
But i cant use the code they are using because i want some extra block elements inside the imagebit... and (difference to them) I do NOT have the size of the image in pixels .. so i can only vertically center the image in ie with an inline block..
-

nexialys
03-25-2009, 10:35 AM
there will always have users who do not upgrade their browser for reason X or Y (most of the time due to computer conf.)

but do not focus on browsers when you create a style... if you use basic elements, all browsers will see it properly. never use InternetExplorer specific codes so you are compliant with the entire www...

you can read some articles about your situation: http://www.alistapart.com/articles/minorthreat/

derfelix
03-25-2009, 11:08 AM
Thanx for the quick reply...
You are right..
I will keep the stuff i created and redirect FF2 users to a page saying they should upgrade..
never use InternetExplorer specific codes so you are compliant with the entire www...

Its not about IE.. page renders fine in IE 5.5 to 8 and FF3 as well as opera, safari and chrome
only old FF2 is creating problems..
Felix

nexialys
03-25-2009, 11:32 AM
FF2 is old, but not odd... it is compliant only with the first generation of CSS 2, so if you use the latest kind of codes, it may render strangely... you can search for tweaks though, but i don't think there is much people not able to upgrade.