ll87 Posted October 5, 2009 Report Share Posted October 5, 2009 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 Quote Link to comment Share on other sites More sharing options...
PicnicTutorials Posted October 5, 2009 Report Share Posted October 5, 2009 If you removed all default margins and etc, then try removing all white space in the html, that should do it. Quote Link to comment Share on other sites More sharing options...
ll87 Posted October 5, 2009 Author Report Share Posted October 5, 2009 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.