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 (17431826)
“I am of course confident that I will fulfil my tasks as a writer in all circumstancesfrom my grave even more successfully and more irrefutably than in my lifetime. No one can bar the road to truth, and to advance its cause I am prepared to accept even death. But may it be that repeated lessons will finally teach us not to stop the writers pen during his lifetime? At no time has this ennobled our history.”
—Alexander Solzhenitsyn (b. 1918)