Yes that was just atypo on my end. Will run thru the css and see why its not grabbing it in IE for some reason.
Start basic and work up I guess. Thanks for your help. Dave -----Original Message----- From: Ricardo [mailto:ricardob...@gmail.com] Sent: May-25-09 5:07 AM To: jQuery (English) Subject: [jQuery] Re: Apply or remove style - Not workingin IE versions Is your mark-up valid? Works fine for me: http://jsbin.com/eninu Is that </div> a typo? You must close the definion list, and it only takes <dt> and <dd> elements inside. On May 24, 11:09 pm, "Dave Maharaj :: WidePixels.com" <d...@widepixels.com> wrote: > What I have below works only in FF. > In my html i have <dl class="entry">php rendered content </div> > > css: > .resume dl.first_entry {padding:10px 0 10px 25px; float:left; > border:none} .resume dl.entry{padding:10px 0 10px 25px; float:left; > border-top:1px dotted #CCC} > > js; > $('#resume_education dl:first').removeClass('entry'); > $('#resume_education dl:first').addClass('first_entry'); > > _____ > > From: Mauricio (Maujor) Samy Silva [mailto:css.mau...@gmail.com] > Sent: May-24-09 8:14 PM > To: jquery-en@googlegroups.com > Subject: [jQuery] Re: Apply or remove style - Not workingin IE > versions > > Would you please provide a sample for your HTML markup? > Maurício > > -----Mensagem Original----- > De: Dave Maharaj :: <mailto:d...@widepixels.com> WidePixels.com > > Not working in IE at all. Works in FF but noting in IE 5.5 to 7 > $('#resume_education dl:first').addClass('first_entry');