I have to say I'd use an extra class on the first li over that big chunk o' Javascript any day. Apart from the extra code, what if I have Javascript disabled?

My 2c...

N
___________________________
Omnivision. Websight.
http://www.omnivision.com.au/
On Tuesday, Oct 5, 2004, at 13:55 Australia/Sydney, Richard Czeiger wrote:


Thanks for the feedback guys but the problem persists !  :o)

While Neerav's solution puts pipes before the first and after the last - I
am trying to get rid of these so that it looks like this:


link | link | link | link

and NOT

| link | link | link | link |

see?

Ben's solution requires a separate class attached to the first list item.
Again - this is kind of clunky when you're trying to work with the best
possible form of an inherited cascade.
That's why I used the JavaScript to kill the first LI in each UL in the
"footer" - at least until the pseudo class firstChild is implemented by
browsers.


Also the Taming Lists article looses it's styling for IE 5 and above (same
with the Practical CSS Layout Tips article).


Anyone else?

Richard :o)

****************************************************** 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