There is a intresting article about building statival navigation on Opera Developer Community Site. This aricle contains a lots of useful theoretical information about CSS and some useful practical examples, that you can use as step-by-step tutorials. Here is one of it, in which we styling ul tag:
#nav ul { margin: 0em; - shorthand for the margin property - removes all margins in the order of top, right, bottom and left padding: 0em; - shorthand for the padding property - removes all padding in the order of top, right, bottom and left list-style-type: none; - removes the list-styles: discs, squares, circles, etc. color: #fff; - sets the color of white to the text characters background: inherit } - sets the list to inherit the container background color :
You can read full version of this version on Opera Developer Community site
Comments