CSS Backgrounds
Posted in CSS | Posted on 02-08-2009-05-2008
In this tutorial we’ll go over some of the CSS features that can be used with background images.
In this tutorial we’ll go over some of the CSS features that can be used with background images.
CSS technology gives us the creative power over how we want our links displayed. We no longer have to settle for the generic blue underlined links of the past. We can have a link with a yellow background that is green and bold. The link can be a background image. There are a lot of possibilities here.
There are three ways that you can use CSS technology in your web page. The style class, the style id, and inline styles can all be used simultaneously on the same web page.
In the past, webmasters had to declare the presentational attributes of each HTML element respectively. For example if you had an <h1> tag and wanted its font size to be 15 pixels, you would have to specify the font size for the that particular <h1> tag. That sounds easy, right. Now imagine that you have 2000 <h1> tags throughout your site, and you have decided that you want to change the font size on all of them to 13 pixels. This would more than likely be a nightmare to accomplish. This is where CSS (Cascading Style Sheets) comes into play.