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