CSS Tutorials

Using Classes in CSS to mark-up XHTML elements

With the help of classes in XHTML and CSS the designers and developers can place many forms of styling onto elements contained within the web page. This is a good practice to use when styling your XHTML content using CSS. Always separate your content from style, which is what CSS is mainly used for. Using classes does not involve any complicated instructions, tips or tricks, only a small little addition will be required within the XHTML code. These additions can be made on almost all of the XHTML tags with the acception of a few which we will. READ MORE