On 2007/03/22 07:23 (GMT) George Ornbo apparently typed: > On 3/22/07, Rolf Mortenson <[EMAIL PROTECTED]> wrote:
>> I've stumbled on a bug that affects Firefox on Mac (not Win), and >> confirmed it in the mozilla bug logs. I've also found an apparent fix >> involving our good friend overflow: auto, but I'd prefer to feed it >> only to Firefox mac... I'm so used to targeting IE, that I can't >> think of how you would target one flavor of Firefox for this one >> little rule. Is there an easy way to do this? >> https://bugzilla.mozilla.org/show_bug.cgi?id=354761 An unconfirmed bug. Unconfirmed bugs haven't been triaged, which means you can't count on them being in the correct place within Bugzilla. >> https://bugzilla.mozilla.org/show_bug.cgi?id=187435#c79 (the fix) This bug is in the correct component, core (Gecko), not Firefox. > If you are using PHP you can use HTTP_USER_AGENT to sniff. Here's a quick > and dirty script. If not you can use Javascript - try googling for > Javascript sniffers. Plenty out there! > <?php > // Get the user agent > $userAgent = $_SERVER['HTTP_USER_AGENT']; > // Set up what we are looking for > $browser = "Firefox"; If it's broken on Firefox, it's broken on all Geckos. Please don't specify Firefox when the appropriate UA word is Gecko. http://geckoisgecko.org/ > $os = "Mac OS X"; > $version = ""; // You could add version or anything else you are looking for > here > // Check the string is in the user agent > $browserTest = strpos($userAgent, $browser); > $osTest = strpos($userAgent, $os); > // If both conditions are true we know it is Firefox for Mac > // Add more conditions if you are testing for anything else > if ($browserTest == true && $os == true) { > echo "This is Firefox on the Mac"; > // Your HTML to serve the stylesheet goes here > } else { > echo "This is not Firefox on the Mac"; > } > ?> -- "For God did not send his Son into the world to condemn the world, but to save the world through him." John 3:17 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/