Top 3 Products & Services
1. 2. 3. |
Dated: Sep. 04, 2005
Related Categories
CSS - Styles SheetsBy Najmi
Background Image For Block Elements
Using CSS, you can now give any block element a background image. A block element simply refers to elements that define a rectangular area, such as a paragraph <p>
, a header <h>
, or div <div>
. Elements such as <font>
and <span>
are NOT block elements. To give block elements a background image, simply insert the below CSS code into the element's tag:
|
Two Classes Together
Usually attributes are assigned just one class, but this doesn't mean that that's all you're allowed. In reality, you can assign as many classes as you like! For example:
|
Using these two classes together (separated by a space, not with a comma) means that the paragraph calls up the rules assigned to both text and side. If any rules overlap between the two classes then the class which is below the other in the CSS document will take precedence.
Now that you've gotten free know-how on this topic, try to grow your skills even faster with online video training. Then finally, put these skills to the test and make a name for yourself by offering these skills to others by becoming a freelancer. There are literally 2000+ new projects that are posted every single freakin' day, no lie!
Previous Article | Next Article |
thank you amjid :)
PS : We need your support and suggestion please read this article "We need your help