July 2nd, 2010
I want to center my website and behind the centered div tag i want to have a plain gray background but i can't seem to get any codes to work.
Please give me the exact codes and where to put them...i dont know if i should put it in a css or right in the page code.
Tags: background, behind, centered, code, exact
Posted in CSS Articles |
1 Comment »
January 22nd, 2010
CSS 3.0 has a great new features called RGBa.
You can now make a transparent background, transparent text, or just about anything else transparent with RGBa.
.myClass {
background-color:rgba(255,255,255,0.5)
}
The above tag will color your area with a white background that is 50% transparent. The only issue with RGBa at this time is that IE doesn't support it Read More...
Tags: background, background-color, background-image, background-image property, CSS, How To, id, RGBa, selectors, transparent, Tutorials
Posted in Uncategorized |
1 Comment »
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 »
August 2nd, 2009
The background property combines background-color, background-image, background-repeat, background-attachment, and background-position.
h1 {
border: 1px solid gray;
background: yellow url(tint.jpg) repeat-y 100% 0;
}
The list -style property combines list-style-types, list-style-postition, and list-style-image Read More...
Tags: background, CSS, How To, list-style, ul
Posted in Understanding CSS |
No Comments »