M
Mr. Dabble
I have just applied a background gradient to all of the
pages to my site. Personally, I would have loved to do
this with a cascading style sheet (CSS). I tinkered with
CSS a tad, but I don't know how to implement the
background gradient that way. My site will potentially be
going through frequent style changes over the next few
months, and so using CSS seems to be something worth
implementing. I suppose an external JavaScript file could
work in its place, but that would be somewhat tacky.
Here is how the gradient is enforced:
<body bgcolor="#AACCFF" text="#000080"
style="filterrogidXImageTransform.Microsoft.Gradient
(endColorstr='#cce0ff', startColorstr='#5E9EFF',
gradientType='0');">
I basically snagged it from a script site. I don't know
how to translate this into CSS (I tinkered, but nothing
worked).
By the way, by using an external CSS, what percentage of
browsers will not display the site correctly (as dictated
by the CSS)? Secondly, how do you override external CSS
styles if you want, say, a portion of the text to appear
in a different color?
Thanks in advance!
pages to my site. Personally, I would have loved to do
this with a cascading style sheet (CSS). I tinkered with
CSS a tad, but I don't know how to implement the
background gradient that way. My site will potentially be
going through frequent style changes over the next few
months, and so using CSS seems to be something worth
implementing. I suppose an external JavaScript file could
work in its place, but that would be somewhat tacky.
Here is how the gradient is enforced:
<body bgcolor="#AACCFF" text="#000080"
style="filterrogidXImageTransform.Microsoft.Gradient
(endColorstr='#cce0ff', startColorstr='#5E9EFF',
gradientType='0');">
I basically snagged it from a script site. I don't know
how to translate this into CSS (I tinkered, but nothing
worked).
By the way, by using an external CSS, what percentage of
browsers will not display the site correctly (as dictated
by the CSS)? Secondly, how do you override external CSS
styles if you want, say, a portion of the text to appear
in a different color?
Thanks in advance!