Reply to Re: Horizontal Navigation Section - using unordered list with display:inline - How to control padding?

Your name:

Reply:


Posted by dorayme on 11/18/07 00:10

In article <dcydnbcQy9CR76LanZ2dnUVZ8t-nnZ2d@pipex.net>,
<news.freedom2surf.net> wrote:

> I'm trying to use the correct CSS to control a website as much as possible.
>
> I want to create a nav section like below
>
> --------------------------------------
> Home Page1 Page 2
> --------------------------------------
>
> I create the links as an unordered list <ul> and apply the style
> display:inline which makes the list horisontal.
>
> However, when I applyt a border to my <div> section, I also seem to get an
> unwanted gap between the top and bottom of my list items and the borders of
> their surrounding divs.

Have you set margin and padding to the div and the list,
including trying zero explicitly for some of these to get what
you want?

--
dorayme

[Back to original 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

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