Jump to content

About "CSS Navigation Bar" tutorial


utkesmer

Recommended Posts

http://w3schools.com/css/css_navbar.aspAt the top part of the tutorial, there is a horizontal navigation bar sample which has no space between links.http://w3schools.com/css/tryit.asp?filenam...zontal_advancedIn this example, there is a bar which has a little space (like borders) between links.I've tried to edit the second one to make it same as the first one, but I couldn't. How can I?Sorry for my grammar by the way.Thank you, Utku.
Link to comment
Share on other sites

There are two commonly used ways to align list items horizontally. 1, use the display:inline rule. That is the one in the second example. 2, use the float:left or float:right rule. The float rules eliminate the spaces.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...