12 articles CSS – Style Sheet

Cascading Style Sheet

CSS Navigation and Menu

Navigation BarsHaving easy-to-use navigation is important for any web site.With CSS you can transform boring HTML menus into good-looking navigation bars. Navigation Bar = List of Links A navigation bar needs standard HTML as a base In our examples we will build the navigation bar from a standard HTML list. Example <ul>   <li><a href=”#home”>Home</a></li>…

CSS Pseudo-classes

CSS pseudo-classes are used to add special effects to some selectors. SyntaxThe syntax of pseudo-classes: selector:pseudo-class {     property:value; } CSS classes can also be used with pseudo-classes: selector.class:pseudo-class {     property:value; } Anchor Pseudo-classes Links can be displayed in different ways in a CSS-supporting browser a:link {     color: #FF0000; } a:visited {    …

CSS Positioning

PositioningThe CSS positioning properties allow you to position an element. It can also place an element behind another, and specify what should happen when an element’s content is too big. Elements can be positioned using the top, bottom, left, and right properties. However, these properties will not work unless the position property is set first.…

CSS Tables

HTML table can be greatly improved with CSS Table Borders To specify table borders in CSS, use the border property.The example below specifies a black border for table, th, and td elements example table, th, td {    border: 1px solid black; } Notice that the table in the example above has double borders. This is…

CSS Lists

The list properties used to control the presentation of list item markers Types of ListsThere are three types of list: Unordered lists – A list of items, where every list items are marked with bullets Ordered lists – A list of items, where every list items each are marked with numbers The list-style-type Property The…

CSS Text and Font Formatting

This tutorial will teach you how to manipulate text using CSS properties. CSS Text properties allow you to define several text styles such as color, spacing, decoration, alignment, etc. CSS Text Properties CSS has several properties for defining the styles of text.These properties give you precise control over the visual presentation of characters, spaces, words,…