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/20/06 07:43

In article <441d9f1f$0$3689$cb0e7fc6@news.centralva.net>,
"Jonathan N. Little" <lws4art@centralva.net> responded to some
of this::

> > I looked at your suggested:
> >
> > #navStrip UL {
> > line-height: 2;
> > margin: .2em;
> > padding: 0;
> > }
> >
> > #navStrip LI {
> > display: inline;
> > list-style-type: none;
> > margin: 0 -.2em;
> > padding: .25em .5em;
> > border-left: 1px solid #00C;
> > border-right: 1px solid #00C;
> > }
> >
> > However, it makes for separators at the start and at the end? At
> > least in FF 1.5 on a Mac.
>
> Yes it does, intensionally for 2 reasons. 1) When the links wrap both
> rows the links will be left in right bound with bars
>
> | link | link | link | link | link |
> | link | link | link | link |
>
> instead of:
>
> link | link | link | link | link |
> | link | link | link | link
>
> Which I thought was the problem you wanted to avoid and 2) with what
> your are currently doing doen't work in IE.
>

The only problem I wanted to avoid is the separator appearing
where it is obviously not needed by the reader. (i) At the left
of the first link on each line and (ii) At the right of the last
link on each line. Considering the uncertain cross browser
operation of so many attempted solutions to this problem I have
decided to give up for now. By having no separators at all! This
is cross browser, cross platform easily done at least.

I know the little coloured rectangles are all the rage, for my
own home site stuff, I can indulge my minimilist whims and not
even have vertical separators....

Your php stuff is beyond me at the moment. But good for you...

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

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