Re: [css-d] #idname.classname - IE Support

2005-12-02 Thread Zoe M. Gillenwater
Michael Hulse wrote: > On Dec 2, 2005, at 11:08 AM, Zoe M. Gillenwater wrote: > >> This would work, but only because of the first part of the selector. >> The second part selects nothing in the HTML snippet provided. > > > I just misunderstood the original question... All of the CSS I posted > wa

Re: [css-d] #idname.classname - IE Support

2005-12-02 Thread Michael Hulse
On Dec 2, 2005, at 11:08 AM, Zoe M. Gillenwater wrote: > This would work, but only because of the first part of the selector. > The second part selects nothing in the HTML snippet provided. I just misunderstood the original question... All of the CSS I posted was intended to be exactly you you ex

Re: [css-d] #idname.classname - IE Support

2005-12-02 Thread Zoe M. Gillenwater
Michael Hulse wrote: >On Dec 1, 2005, at 3:41 AM, Kevin Cannon wrote: > > >> ... >> >> #tabs.ski { >> background-color: green; >> } >> >> > >Excuse my noobieneess... > >Why not: > >... > >/* Make .ski green: */ >#tabs .ski { > background-color: green; >} >

Re: [css-d] #idname.classname - IE Support

2005-12-02 Thread Tony Crockford
Christian Montoya wrote: > Isn't ID more specific than class? So if #footer has font-size:1em; > and then in .fancyfooter you try to override that with > font-size:1.1em; it won't be overridden, because #footer has > precedence? good point, bad example on my part. I'm more likely to add a class

Re: [css-d] #idname.classname - IE Support

2005-12-02 Thread Christian Montoya
On 12/2/05, Tony Crockford <[EMAIL PROTECTED]> wrote: > > why would you use id.class on an element (apart from the fact that it > doesn't work in IE) when giving a page element an id (consistent > throughout the site but unique per page - e.g footer) and adding a > class (declared by element in t

Re: [css-d] #idname.classname - IE Support

2005-12-02 Thread Tony Crockford
Eric A. Meyer wrote: > At 2:23 PM + 12/1/05, Tony Crockford wrote: > >> this sounds a bit strange but why are you doing #tabs.ski which means >> id=tabs.ski > > That's not quite right. To select the following: > > ... Yeah, I spotted my idiocy within seconds of pressing send but m

Re: [css-d] #idname.classname - IE Support

2005-12-01 Thread Michael Hulse
On Dec 1, 2005, at 3:41 AM, Kevin Cannon wrote: > ... > > #tabs.ski { > background-color: green; > } Excuse my noobieneess... Why not: ... /* Make .ski green: */ #tabs .ski { background-color: green; } /* Make .ski red: */ #tabsTwo .ski { backgro

Re: [css-d] #idname.classname - IE Support

2005-12-01 Thread Kevin Cannon
Hey, Thanks to everyone for the replies. It's a shame that's a bit of a problem. I've found a workaround now, which isn't ideal but not too awkward. Thanks again! :) - Kevin On Thu, Dec 01, 2005 at 03:39:42PM +0100, Ingo Chao wrote: > http://archivist.incutio.com/viewlist/css-discuss/57344 > ht

Re: [css-d] #idname.classname - IE Support

2005-12-01 Thread Eric A. Meyer
At 2:23 PM + 12/1/05, Tony Crockford wrote: >this sounds a bit strange but why are you doing #tabs.ski which means >id=tabs.ski That's not quite right. To select the following: ... ...you'd need to write the following selector: #tabs\.ski {...} Without the backslash, it's a

Re: [css-d] #idname.classname - IE Support

2005-12-01 Thread CJ Larson
> -Original Message- > IE up to and including 6 on Windows only supports a single selector at a > time, inline with the CSS 1 spec. There's a bit more infor from the IE > team at I think that though this may be true with ID/Class combinations (I haven't tested), it works fine for me in I

[css-d] #idname.classname - IE Support

2005-12-01 Thread diego nunes
On 01/12/05, Tony Crockford <[EMAIL PROTECTED]> wrote: > is #tabs.ski a syntax that *should* work? if so have you a reference? For sure "#id.className { }" should work. As well as ".className.anotherClassName { }". There is no mention about it on the documentation (at least not on the

Re: [css-d] #idname.classname - IE Support

2005-12-01 Thread Leszek
> Try switching ur class and id around - so that tabs becomes the class > and ski and home become the id's: > > .tabs { > padding: 2em 1em; > border: 2px dotted black; > } > > .tabs#ski { > background-color: green; > } > > .tabs#home { > background-color: blue; >

Re: [css-d] #idname.classname - IE Support

2005-12-01 Thread David Laakso
Kevin Cannon wrote: >Hi, > >Is it possible ot use a rule with an ID and a class name in IE. e.g. like so: > > ... > > #tabs.ski { > background-color: green; > } > >That works fine in Firefox, but in IE the first rule works, but subsequent >ones don't: > >http://www

Re: [css-d] #idname.classname - IE Support

2005-12-01 Thread Tony Crockford
Kevin Cannon wrote: > I'm at a bit of a loss, and so are the oher CSS afficiando's in here. > > Any ideas? missed a useful url on my last post: http://sonspring.com/index.php?id=102 ;o) __ css-discuss [EMAIL PROTECTED] http://ww

Re: [css-d] #idname.classname - IE Support

2005-12-01 Thread Ingo Chao
Kevin Cannon wrote: > Hi, > > Is it possible ot use a rule with an ID and a class name in IE. e.g. like so: > > ... > > #tabs.ski { > background-color: green; > } > > That works fine in Firefox, but in IE the first rule works, but subsequent > ones don't: > > h

Re: [css-d] #idname.classname - IE Support

2005-12-01 Thread Tony Crockford
Kevin Cannon wrote: > Hi, > > Is it possible ot use a rule with an ID and a class name in IE. e.g. like so: > > ... > > #tabs.ski { > background-color: green; > } > > That works fine in Firefox, but in IE the first rule works, but subsequent > ones don't: > > h

Re: [css-d] #idname.classname - IE Support

2005-12-01 Thread Nick Fitzsimons
> Is it possible ot use a rule with an ID and a class name in IE. e.g. like > so: > > ... > > #tabs.ski { > background-color: green; > } > > That works fine in Firefox, but in IE the first rule works, but subsequent > ones don't: > > http://www.multiblah.com/exps/cs

Re: [css-d] #idname.classname - IE Support

2005-12-01 Thread Krisbob
Kevin Cannon wrote: >Hi, > >Is it possible ot use a rule with an ID and a class name in IE. e.g. like so: > > ... > > #tabs.ski { > background-color: green; > } > >That works fine in Firefox, but in IE the first rule works, but subsequent >ones don't: > >http://www

Re: [css-d] #idname.classname - IE Support

2005-12-01 Thread Tony Crockford
Kevin Cannon wrote: > Hi, > > Is it possible ot use a rule with an ID and a class name in IE. e.g. like so: > > ... > > #tabs.ski { > background-color: green; > } this sounds a bit strange but why are you doing #tabs.ski which means id=tabs.ski when you ought

[css-d] #idname.classname - IE Support

2005-12-01 Thread Kevin Cannon
Hi, Is it possible ot use a rule with an ID and a class name in IE. e.g. like so: ... #tabs.ski { background-color: green; } That works fine in Firefox, but in IE the first rule works, but subsequent ones don't: http://www.multiblah.com/exps/css/id_clas