navigation-style

Best way to manage whitespace between inline list items

My HTML is as follows: <ul id="nav"> <li><a href="./">Home</a></li> <li><a href="/About">About</a></li> <li><a href="/Contact">Contact</a></li> </ul> And my css: #nav { display: inline; } However the whitespace between the li's shows up. I can remove the whitespace by collapsing them like so: <ul id="nav"> <li>...

Adding left button to UINavigationBar (iPhone)

I've created a new navigation based iPhone app. I added this to the RootViewController. - (void)viewDidLoad { [super viewDidLoad]; UIBarButtonItem *addButton = [[UIBarButtonItem alloc] init]; self.navigationItem.leftBarButtonItem = addButton; self.navigationItem.leftBarButtonItem.enabled = YES; } No left button displays howev...