PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 1.00 average.

CSS and Background Gradients

 
 
Mr. Dabble
Guest
Posts: n/a
 
      15th Nov 2003
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!
 
Reply With Quote
 
 
 
 
Steve Easton
Guest
Posts: n/a
 
      15th Nov 2003
The only problem with the background gradient is
that it only works in Internet Explorer.
filterrogidXImageTransform.Microsoft.Gradient
is a light filter function that has been built in IE since IE5.0

More info:
http://msdn.microsoft.com/library/de...ions_entry.asp
--
using 2k PRO but....95isalive
This site is best viewed............
........................with a computer

"Mr. Dabble" <(E-Mail Removed)> wrote in message
news:083101c3ab63$6a8f3cf0$(E-Mail Removed)...
> 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!



 
Reply With Quote
 
Mr. Dabble
Guest
Posts: n/a
 
      18th Nov 2003
Thanks -- looking up your page right now!

Anybody else with something to add?


>-----Original Message-----
>The only problem with the background gradient is
>that it only works in Internet Explorer.
>filterrogidXImageTransform.Microsoft.Gradient
>is a light filter function that has been built in IE

since IE5.0
>
>More info:
>http://msdn.microsoft.com/library/default.asp

url=/workshop/author/filter/filters_transitions_entry.asp
>--
>using 2k PRO but....95isalive
>This site is best viewed............
>........................with a computer
>
>"Mr. Dabble" <(E-Mail Removed)> wrote

in message
>news:083101c3ab63$6a8f3cf0$(E-Mail Removed)...
>> 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!

>
>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gradients StrandElectric Microsoft VB .NET 2 8th Jan 2011 04:11 AM
Problems with Gradients Lauren at Acton Microsoft Excel Misc 0 26th Feb 2008 10:36 PM
IE6 and Gradients Geriatrix Windows XP Internet Explorer 0 4th Jun 2006 02:28 PM
re: Gradients Jim Buyens Microsoft Frontpage 0 11th Mar 2004 05:00 PM
Printing gradients KK Microsoft Powerpoint 1 10th Feb 2004 04:17 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:03 AM.