Keven, is there a reason you are not just creating a class the strips out
the border.  I usually do something like:

.lastchild{
border:none;
}

and just add that to the last list item.

On 12/5/07, Kevin Scholl <[EMAIL PROTECTED]> wrote:
>
>
> Thanks for your efforts, Benjamin. Obviously, it's got me stumped,
> too. I can add the border back in via jQuery for the look I'm trying
> to achieve, but ideally I'd like to keep the code as minimal as
> possible.
>
> Anyone else have any idea(s)?
>
>
> On Dec 5, 12:23 pm, "Benjamin Sterling"
> <[EMAIL PROTECTED]> wrote:
> > Kevin,
> > That really should be working, you may need to submit a bug report or
> ask
> > others if this is a true bug.
> >
> > With that said, I did the below and get the last LI in "Awards" and
> > "Screenshots" so I am not sure if this is what you want:
> >
> > $('li:has(img):last-child');
> >
> > On 12/5/07, Kevin Scholl <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> > > HI, Benjamin. Thanks for taking a look. The page in question may be
> > > found at:
> >
> > >http://review.ksscholl.com/product.html
> >
> > > The pertinent CSS file and JS files:
> >
> > >http://review.ksscholl.com/css/matrix.css
> > >http://review.ksscholl.com/js/jqload.js
> >
> > > Thanks!
> >
> > > On Dec 5, 9:52 am, "Benjamin Sterling"
> > > <[EMAIL PROTECTED]> wrote:
> > > > Kevin,
> > > > Do you have a test page up?  That looks like it should work, but I
> need
> > > to
> > > > see the structure in action.
> >
> > > > On 12/5/07, Kevin Scholl <[EMAIL PROTECTED]> wrote:
> >
> > > > > Greetings, all. I feel really stupid here, but I'm at wit's end. I
> > > > > want to remove the bottom border from the last LI in all DIVs
> except
> > > > > those of class 'features'. I've tried all manner of syntax, to no
> > > > > avail. Here's what I currently have in place:
> >
> > > > > $("div:not(.features) li:last-child").css("borderBottom","0");
> >
> > > > > but this does not exclude the div.features list items as I
> expected.
> >
> > > > > Any help greatly appreciated. Thanks!
> >
> > > > --
> > > > Benjamin
> > >
> Sterlinghttp://www.KenzoMedia.comhttp://www.KenzoHosting.comhttp://www.benjam...
> >
> > --
> > Benjamin
> Sterlinghttp://www.KenzoMedia.comhttp://www.KenzoHosting.comhttp://www.benjaminsterling.com
>



-- 
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
http://www.benjaminsterling.com

Reply via email to