[jQuery] Re: DOM traversing with 'not'

2007-12-05 Thread Benjamin Sterling
Good call Kevin. On 12/5/07, Kevin Scholl <[EMAIL PROTECTED]> wrote: > > > @Karl > Yes, the borders show in the right column using that method, though > the explanation regarding the set of matched divs is enlightening. > Appreciate your input there! > > @Benjamin > I'm trying to keep the HTML as

[jQuery] Re: DOM traversing with 'not'

2007-12-05 Thread Kevin Scholl
@Karl Yes, the borders show in the right column using that method, though the explanation regarding the set of matched divs is enlightening. Appreciate your input there! @Benjamin I'm trying to keep the HTML as clean as possible, because these templates are going to be handed over to an ASP progr

[jQuery] Re: DOM traversing with 'not'

2007-12-05 Thread Benjamin Sterling
And this is why Karl is da man. On 12/5/07, Karl Swedberg <[EMAIL PROTECTED]> wrote: > > > Hi Kevin, > > I have an idea. :-) > > The problem is that, even though you're excluding class="features">, you're not excluding its parent divs. For example, > is still part of the first selector > ( div:n

[jQuery] Re: DOM traversing with 'not'

2007-12-05 Thread Karl Swedberg
Hi Kevin, I have an idea. :-) The problem is that, even though you're excluding class="features">, you're not excluding its parent divs. For example, is still part of the first selector ( div:not(.features) ), and the li:last-child of div.features is also a li:last-child of div.colLeft12

[jQuery] Re: DOM traversing with 'not'

2007-12-05 Thread Benjamin Sterling
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

[jQuery] Re: DOM traversing with 'not'

2007-12-05 Thread Kevin Scholl
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 PROTECT

[jQuery] Re: DOM traversing with 'not'

2007-12-05 Thread Benjamin Sterling
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 <[EMAI

[jQuery] Re: DOM traversing with 'not'

2007-12-05 Thread Kevin Scholl
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 P

[jQuery] Re: DOM traversing with 'not'

2007-12-05 Thread Benjamin Sterling
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 DIV