Re: [css-d] css or javascript hacks for firefox

2009-05-30 Thread Tim Snadden
On 30/05/2009, at 3:00 PM, Jenni Beard wrote: > So, now I feel like I have to add a > hack for Chrome The vast majority of the time the only browser that requires special rules and hacks is Internet Explorer. If you find yourself reaching for hacks to make things look consistent in other ma

Re: [css-d] css or javascript hacks for firefox

2009-05-30 Thread cr.vegelin
Jenny, See: http://www.w3schools.com/browsers/browsers_stats.asp HTH, Cor - Original Message - From: "Jenni Beard" To: Cc: Sent: Saturday, May 30, 2009 4:42 AM Subject: Re: [css-d] css or javascript hacks for firefox >I don't know any IE7 hacks, nor have I

Re: [css-d] css or javascript hacks for firefox

2009-05-29 Thread Philippe Wittenbergh
On May 30, 2009, at 12:00 PM, Jenni Beard wrote: > Hmm, I've found that often what works in Mozilla does not work in > Opera or > vice-versa, now I just finally broke down and downloaded Chrome, and > all > works great in IE7, Mozilla3, Opera9.64, but the navigation is > skewed to the > left

Re: [css-d] css or javascript hacks for firefox

2009-05-29 Thread David Laakso
Jenni Beard wrote: > I don't know any IE7 hacks, nor have I seen any. Now, IE6, THAT'S another > story! That browser is/was SO annoying. > > Anyone know what % of people are still using IE6 anyway? Last stats I heard > were from almost 2 yrs ago, that claimed almost 25% of internet users... > > T

Re: [css-d] css or javascript hacks for firefox

2009-05-29 Thread Jenni Beard
css-discuss.org [mailto:css-d-boun...@lists.css-discuss.org] On Behalf Of Tim Snadden Sent: Friday, May 29, 2009 8:51 PM To: Css-Discussion Group Subject: Re: [css-d] css or javascript hacks for firefox On 30/05/2009, at 9:47 AM, Jenni Beard wrote: > Generally these days I code for IE7, then che

Re: [css-d] css or javascript hacks for firefox

2009-05-29 Thread Jenni Beard
--Original Message- From: David Laakso [mailto:da...@chelseacreekstudio.com] Sent: Friday, May 29, 2009 8:47 PM To: Jenni Beard Cc: css-d@lists.css-discuss.org Subject: Re: [css-d] css or javascript hacks for firefox Jenni Beard wrote: > Generally these days I code for IE7, then check ou

Re: [css-d] css or javascript hacks for firefox

2009-05-29 Thread Tim Snadden
On 30/05/2009, at 9:47 AM, Jenni Beard wrote: > Generally these days I code for IE7, then check out Mozilla and > Opera With respect I would suggest a different approach to the line above. If you write standards compliant markup and CSS you will rarely have to make significant changes to mak

Re: [css-d] css or javascript hacks for firefox

2009-05-29 Thread David Laakso
Jenni Beard wrote: > Generally these days I code for IE7, then check out Mozilla and > Opera (and am getting ready to embark on Google Chrome, alas!), then add > hacks where needed since these all seem to render most CSS layouts a bit > differently. > Code to IE/7??? I don't think so. Code

[css-d] css or javascript hacks for firefox

2009-05-29 Thread Jenni Beard
“then it is also present in Safari (3.2.2). Hacking Firefox 3 is dangerous since particular bugs have been fixed with this version but the hacks are more specific (targeting or filtering) to Gecko engine versions. There is many of them. Anyway how can you hack a fix for this bug?” I’m no expert

Re: [css-d] css or javascript hacks for firefox

2009-05-18 Thread Philippe Wittenbergh
On May 18, 2009, at 3:26 PM, Alan Gresley wrote: > Interesting. The hack you have is. > > @-moz-document url-prefix() { > :root>body #login_form label input {margin-top: -1.3em;} > :root>body:not(:nth-child(0)):only-of-type>*|*:not(|*) > #login_form label input { margin-top: 0;} > } As I posted

Re: [css-d] css or javascript hacks for firefox

2009-05-18 Thread Gunlaug Sørtun
Alan Gresley wrote: > This part of the hack, > > |*:not(| > > causes a parsing error. Is this fixed in Firefox 3.5b4? I must admit > that your hackery (possibly combining structural pseudo class support > and parsing errors) is hackier than mine. :-) I'm not surprised :-) However, keep in mind

Re: [css-d] css or javascript hacks for firefox

2009-05-18 Thread Alan Gresley
Philippe Wittenbergh wrote: > > On May 18, 2009, at 3:26 PM, Alan Gresley wrote: > >> Interesting. The hack you have is. >> >> @-moz-document url-prefix() { >> :root>body #login_form label input {margin-top: -1.3em;} >> :root>body:not(:nth-child(0)):only-of-type>*|*:not(|*) >> #login_form label i

Re: [css-d] css or javascript hacks for firefox

2009-05-18 Thread Alan Gresley
Gunlaug Sørtun wrote: > Alan Gresley wrote: > >> If this is this bug > >> >> > > Although dealing with vertical alignment of floats, our test case isn't > revealing just one bug. > > Reordering the markup is the old sol

Re: [css-d] css or javascript hacks for firefox

2009-05-03 Thread Gunlaug Sørtun
Ido dekkers wrote: > the is the problem > > what i don't understand is why not use the fix? I see no problem with the fix in your case, because of the way it is built up and used. The simplified selector for Gecko 1.9.1 + suggested by Philippe, will actually

Re: [css-d] css or javascript hacks for firefox

2009-05-03 Thread Ido dekkers
thank you all for the reply the is the problem what i don't understand is why not use the fix? and if not, what is the correct way to build the HTML ? thanks again Ido On Sun, May 3, 2009 at 4:09 AM, Philippe Wittenbergh wrote: > > On May 2, 2009, at 8:16

Re: [css-d] css or javascript hacks for firefox

2009-05-03 Thread Philippe Wittenbergh
On May 2, 2009, at 8:16 PM, Gunlaug Sørtun wrote: > This reduced hack should otherwise work, at least back to Fx 1.5 (not > thoroughly tested)... > > @-moz-document url-prefix() { > :root>body ELEMENT-SELECTOR {/* fix old Gecko */} > :root>body:not(:nth-child(0)):only-of-type>*|*:not(|*) > ELEMEN

Re: [css-d] css or javascript hacks for firefox

2009-05-02 Thread Alan Gresley
Gunlaug Sørtun wrote: >>> BTW: which known bug? Just in case there are better options. > >> namely bug 50630: float should be as high as previous line box >> https://bugzilla.mozilla.org/show_bug.cgi?id=50630 > > That bug is indeed old and well known, and has caused problems all > along. Don't k

Re: [css-d] css or javascript hacks for firefox

2009-05-02 Thread Gunlaug Sørtun
Alan Gresley wrote: > If this is this bug > Although dealing with vertical alignment of floats, our test case isn't revealing just one bug. Reordering the markup is the old solution, and it'll still work - if that's an o

Re: [css-d] css or javascript hacks for firefox

2009-05-02 Thread Gunlaug Sørtun
>> BTW: which known bug? Just in case there are better options. > namely bug 50630: float should be as high as previous line box > https://bugzilla.mozilla.org/show_bug.cgi?id=50630 That bug is indeed old and well known, and has caused problems all along. Don't know of any option but to hack bac

Re: [css-d] css or javascript hacks for firefox

2009-05-01 Thread Philippe Wittenbergh
On May 2, 2009, at 8:17 AM, Gunlaug Sørtun wrote: >> is there a css hack for ver 3 and below or something using >> javascript? i need to to fix a known bug only in FF without effecting >> other standard complaint browsers? > > If you really want/need to hack Gecko versions, yes... >

Re: [css-d] css or javascript hacks for firefox

2009-05-01 Thread Gunlaug Sørtun
Ido dekkers wrote: > is there a css hack for ver 3 and below or something using > javascript? i need to to fix a known bug only in FF without effecting > other standard complaint browsers? If you really want/need to hack Gecko versions, yes...

[css-d] css or javascript hacks for firefox

2009-05-01 Thread Ido dekkers
HI is there a css hack for ver 3 and below or something using javascript ? i need to to fix a known bug only in FF without effecting other standard complaint browsers? Thanks Ido __ css-discuss [cs...@lists.css-discuss.org] htt