Wolfie7873
Technical User
I have my html (parent) element styled thusly:
The background should be a gradient from dark gray to light gray moving left to right. Works in FF and IE, but not in the webkit browsers (Safari, Chrome). Any guesses why? The same styles applied to divs later the in page work just fine.
Code:
html {
background-color: #888; /* for non-css3 browsers */
-ms-filter: "progid:DXImageTransform.Microsoft.gradient (GradientType=1, startColorstr=#888888, endColorstr=#dddddd)"; /* for IE 8+? */
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1, endColorstr='#dddddd', startColorstr='#888888'); /* for IE 5.5 - 7 */
background-image: -webkit-gradient(linear, top left, top right, from(#888), to(#ddd)); /* for webkit browsers */
background-image: -moz-linear-gradient(left, #888, #ddd); /* for firefox 3.6+ */
background-image: -o-linear-gradient(#888, #ddd); /* for Opera 11.10+ */
background-repeat:no-repeat;
height: 100%;
}
The background should be a gradient from dark gray to light gray moving left to right. Works in FF and IE, but not in the webkit browsers (Safari, Chrome). Any guesses why? The same styles applied to divs later the in page work just fine.