Styling your elements.
A few weeks ago I promised to create a few examples on how to style different elements using CSS. We have already seen how to do this in several different ways but not so much which options we have for the specific element. First we need a webpage and we will start with a simple one like the example below. It contains of a small collection of elements. There are three DIV containers used to limit the geometry of the child elements. Also there are an unordered list, UL, and a paragraph, P. Last but not least there are a collection of links, A HREF, in the list functioning as a menu. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional. dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> <head> <link rel="stylesheet" href="css/foo.css" type="text/css" /> </head> <body...