On Nov 3, 2005, at 4:55 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote:
> /*\*/ > html>body*.info_box_top_left {background-color: red; } > /**/ > > I have been using this. Is it a valid hack for safari only?? Sorry for the delayed response. IMO, this is a bad idea. You should only Hack The Dead(tm). Safari is a living browser, in active development. You have no idea whether this hack will stop working tomorrow, or worse, fall out of sync with the rendering bug you are trying to fix. Also, I'm assuming that you ask "is this a valid hack" meaning "does it work?" and not meaning "is it valid CSS?" because then, no, it does not validate. This is a parse error in their engine, but a fairly benign one that is easy for them to fix -- and indeed some might say it might not be an error, so other browsers might pick it up. The bug here is that Safari seems to treat matches on /\s*/ as a descendant selector, instead of matches on /\s+/. One character change in the source code makes this bug a pretty easy fix, no? Since Safari is being developed (versions 1.3.x and 2.0.x are both active), I would only use hacks for it that are known to target versions 1.0-1.2.x. Targeting current versions opens you up to problems. In my experience, though, there is nothing Safari needs hacking for except the oversized background-repeat bug. -- Ben Curtis : webwright bivia : a personal web studio http://www.bivia.com v: (818) 507-6613 ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/