Topic: Inline lists

What is the best way to deal with the gap between the left edge of an inline unordered list, and the first list item when there is no list style type.

i am making a tabbed navigation bar and this blank space messes up my position of the items.

i have tried putting margins and padding to 0 but clearly, just doing list-style : none simply removes the symbol and not the space it holds.

any help appreciated.

thanks, Alex smile

Re: Inline lists

If you removed all default margins and etc, then try removing all white space in the html, that should do it.

Re: Inline lists

had a quick look at a alistapart article, and realised i needed to set both margin and padding to 0 on the ul, and it worked. thanks though!