Re: [css-d] Use of !ie and !important

2008-01-08 Thread david
Mike Schinkel wrote: > david wrote: >> !important is not a hack. It's an official W3C thing, > > That doesn't mean is can't still be called a hack... '-p I'll let people who use hacks talk about what constitutes a "hack". -- David [EMAIL PROTECTED] authenticity, honesty, community

Re: [css-d] Use of !ie and !important

2008-01-06 Thread Mike Schinkel
david wrote: > !important is not a hack. It's an official W3C thing, That doesn't mean is can't still be called a hack... '-p -- -Mike Schinkel http://www.mikeschinkel.com/blogs/ http://www.welldesignedurls.org http://atlanta-web.org

Re: [css-d] Use of !ie and !important

2008-01-06 Thread david
!important is not a hack. It's an official W3C thing, although I believe it's supposed to be used only in user stylesheets. Slob Jones wrote: > Let me post the question properly. > > The hack !important works in IE6 but not in IE7. > > Is there a hack -- or perhaps another routine -- that will

Re: [css-d] Use of !ie and !important

2008-01-06 Thread David Laakso
Slob Jones wrote: > Let me post the question properly. > > The hack !important works in IE6 but not in IE7. > > Is there a hack -- or perhaps another routine -- that will work in IE7? > > My particular problem regards positioning. I find that extra pixel or > two in IE can make a design look less

Re: [css-d] Use of !ie and !important

2008-01-06 Thread Ben Fider
Create stylesheets with the css you want to feed IE6 and IE7. Then put conditional comments in the head of your page:

Re: [css-d] Use of !ie and !important

2008-01-06 Thread Slob Jones
Let me post the question properly. The hack !important works in IE6 but not in IE7. Is there a hack -- or perhaps another routine -- that will work in IE7? My particular problem regards positioning. I find that extra pixel or two in IE can make a design look less than stellar. david wrote: >

Re: [css-d] Use of !ie and !important

2008-01-05 Thread david
"!important" is not invalid. "!ie" is. Slob Jones wrote: > I keep hearing how !important is an "invalid hack," and yet I see no > suggestions on how to solve the very real problem of that additional > pixel or two in IE that screws up people's layouts. > > That invalid hack, by the way, works v

Re: [css-d] Use of !ie and !important

2008-01-05 Thread Peter Abramowicz
Conditional comments. PeterA. Slob Jones wrote: > I keep hearing how !important is an "invalid hack," and yet I see no > suggestions on how to solve the very real problem of that additional > pixel or two in IE that screws up people's layouts. > > That invalid hack, by the way, works very well

Re: [css-d] Use of !ie and !important

2008-01-05 Thread Slob Jones
I keep hearing how !important is an "invalid hack," and yet I see no suggestions on how to solve the very real problem of that additional pixel or two in IE that screws up people's layouts. That invalid hack, by the way, works very well in IE6. Anyone? >> Can someone let me in what is meant wi

Re: [css-d] Use of !ie and !important

2008-01-04 Thread Thierry Koblentz
> >> Ingo > > > > It's an invalid hack [1] used to target IE7. Almost any word can be > used after "!" in the important identifier. > > > > [1] > > > > Alan > > > > http://css-class.com/ > > > > > > Thank you, Alan. I'm glad you aske

Re: [css-d] Use of !ie and !important

2008-01-04 Thread Ingo Chao
Alan Gresley wrote: > ... >> >> Can someone let me in what is meant with "!ie" hack and point me to a >> reference? >> >> Ingo > > It's an invalid hack [1] used to target IE7. Almost any word can be used > after "!" in the important identifier. > > [1]

Re: [css-d] Use of !ie and !important

2008-01-04 Thread Alan Gresley
Ingo Chao on 4 January 2008 04:04 > Nancy E. Sosna Bohm wrote: >> Often I find a pixel or two difference between FireFox and IE7, mostly due >> to my use of borders and padding. I have been extensively using !ie at the >> end of a style declaration to correct this in IE7. This is similar to the

Re: [css-d] Use of !ie and !important

2008-01-03 Thread Ingo Chao
Nancy E. Sosna Bohm wrote: > Often I find a pixel or two difference between FireFox and IE7, mostly due > to my use of borders and padding. I have been extensively using !ie at the > end of a style declaration to correct this in IE7. This is similar to the > !important used to target both FF and IE

Re: [css-d] Use of !ie and !important

2008-01-03 Thread Gunlaug Sørtun
Nancy E. Sosna Bohm wrote: > Often I find a pixel or two difference between FireFox and IE7, > mostly due to my use of borders and padding. Regular use of borders and paddings should not create any difference between Fx and IE7 - when both are in standard mode. There are certain constructions tha

[css-d] Use of !ie and !important

2008-01-02 Thread Nancy E. Sosna Bohm
Often I find a pixel or two difference between FireFox and IE7, mostly due to my use of borders and padding. I have been extensively using !ie at the end of a style declaration to correct this in IE7. This is similar to the !important used to target both FF and IE7, but not IE6. Both of these work