As a way to nicely tie up this little thread...  :o)

Once you've put your border-left 1 pixel, use the DOM to find the UL
(perhaps through an ID) and remove the first LI's border.
IF JavaScript is turned off - you're no worse off...


function listBorderKill() {
  if (document.getElementById('navigationID'))

    myBody=document.getElementById('navigationID');
    myListElements=myBody.getElementsByTagName("li");
    myLI=myListElements.item(0);
    myLI.style.borderLeft = 'none';
  }
}

window.onload=listBorderKill;


Happy landings!
Richard  :o)




----- Original Message -----
From: "Paul Farrell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 06, 2004 7:36 AM
Subject: RE: [WSG] List Item Separators


Thankyou John,

I should have known to go to ALA ! It really is a great site.

> *grin*
>
> That's what it's all about, Paul -- you're thinking along
> different lines now (no pun intended).  I've been doing the
> same thing, and I love it! :)
>
> I found the following on A List Apart that you may find
> helpful.  Search the page for "pipe" and you'll see something
> that you can use.
>
> http://www.alistapart.com/articles/taminglists/
>
> ~john
> _________________________
> Dr. Zeus Web Development
> http://www.DrZeus.net
> "content without clutter"


******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************



******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to