July 27th, 2010
CSS Image Replacement is a web design technique that calls a logo or specific image via the CSS stylesheet, while hiding some text behind it on the web page. The normal code for a logo would look like this: Using the CSS Replacement technique, first you would create a CSS class that would look like this: And then you would call the logo on the web page with the following code: The visual result would be the same in both cases, but with the CSS Image Replacement you would have the “logo name” text hidden in the page Read More...
Tags: image, Replacement, Should
Posted in CSS Articles |
No Comments »
July 2nd, 2010
My linked () images have a border and are in an html file. How do I change the color of the border with an external CSS?
Tags: border, change, color, external, file, html, image, linked, Using
Posted in CSS Articles |
4 Comments »
August 23rd, 2009
The background-color property sets the background color of an element.
The backgound-image property applies a background image to an element, which will appear on top of any background-color.
body {
background-color:#000
}
h1 {
background-image:url(header.png);
}
Tags: background, class, CSS, div, h1, h2, How To, image, margin, Tutorials
Posted in CSS Adding Background Images |
No Comments »