Navigation Bar - Sample Implementation of A Navigation Bar

Sample Implementation of A Navigation Bar

A one level navigation bar is a sectioned portion of a web page that does not include any drop down menus. A typical and simple implementation of this type of bar will include two web based programming languages: HTML and CSS. Typically the HTML code will consist of a an un-ordered list and number of list elements holding anchor tags such as the following code:

Using some basic CSS web designers can change the look and feel of navigation system to fit the overall design or theme of web document. Here is how some sample CSS code may look:

ul {

padding: 0 0 0 0;
margin: 0 0 0 0;
text-decoration: none;
list-style-position: inside;

}

li {

padding: 1em;
text-decoration: none;
list-style-type: none;
padding-top: 1em;

}

#main-nav {

font-variant: small-caps;
margin-top: 2em;
margin-left: 1em;
width: 200px;

}

Read more about this topic:  Navigation Bar

Famous quotes containing the words sample and/or bar:

    The present war having so long cut off all communication with Great-Britain, we are not able to make a fair estimate of the state of science in that country. The spirit in which she wages war is the only sample before our eyes, and that does not seem the legitimate offspring either of science or of civilization.
    Thomas Jefferson (1743–1826)

    ‘Yes; quaint and curious war is!
    You shoot a fellow down
    You’d treat if met where any bar is,
    Or help to half-a-crown.’
    Thomas Hardy (1840–1928)