You are here: Re: Left border not wanted when list items wrap... « HTML « IT news, forums, messages
Re: Left border not wanted when list items wrap...

Posted by dorayme on 03/19/06 01:32

In article <f9um1294oi85i9hlh1l1v5a9svs80pv7dn@4ax.com>,
Steven <Phelum@Syd.au> wrote:

> On Sat, 18 Mar 2006 13:30:24 +1100, dorayme
> <doraymeRidThis@optusnet.com.au> wrote:
>
> >Anyone any ideas on how to be rid of left border when a
> >horizontal menu list wraps, ie. imagine a line of list links
> >wrapping to a second line and the border is not wanted at the
> >start of the second line?
> >
> >http://dorayme.150m.com/test/waywardKing.html
>
> Could you try right-border on "li li" so it applies to all except the
> last li ?

Yes, Steven, this is part of the way to go. You are right.

End of week and I was tired, and to tell the truth, I did not
want to think about the problem of getting rid of the last right
border - it had not occurred to me there _was_ a "last-child" (to
match the "first-child" device to be rid of left-border). It
seemed to me a wispier notion at the time, one can only have one
first child but last can be changed as one adds kids... but all
this is scrambled egg thinking!

I am happy to say that I actually tried this "last-child" as a
wild guess a little later at a friend's house (without any
confidence) and it worked! It must be in the css specs, right? It
is delicious not to look it up.

But I do have another problem about this strip menu, I am not
happy. Shall I say here?

--
dorayme

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация