How to add gradient to a cell?

C

CFM

How can I add a gradient to a cell, just like in Microsoft's homepage (from
blue to white)? And without resoting to pictures?
 
S

Sparky Polastri

CFM said:
How can I add a gradient to a cell, just like in Microsoft's homepage (from
blue to white)? And without resoting to pictures?

You might be able to do that with CSS.

Wont be able to do it with pure HTML.

What's wrong with using an image?
 
D

Don

Well you can try this

SPAN style="FILTER: progid:DXImageTransform.Microsoft.Alpha(
style=1,opacity=100,finishOpacity=0,startX=0,finishX=100,startY=0,finishY=100);
WIDTH: 100%; HEIGHT: 40px; BACKGROUND-COLOR: blue">

But it only works in IE...

It can also be done with CSS and that can be made to work in IE & NN

HTH

Don
=======================
| How can I add a gradient to a cell, just like in Microsoft's homepage
(from
| blue to white)? And without resoting to pictures?
 
G

Guest

What is CSS stand for?
-----Original Message-----

Microsoft's homepage
(from

You might be able to do that with CSS.

Wont be able to do it with pure HTML.

What's wrong with using an image?


.
 
D

Don

CSS = Cascading Style Sheet

It can be a linked text file or in line style in the header of the page..
Like---
<style>
a:link
{
text-decoration:none;
color:white
}
a:visited
{
text-decoration:none;
color:white
}
a:active
{
text-decoration:none;
color:white
}
a:hover
{
text-decoration:none;
color:yellow
}
SELECT { font-size:9pt; border:2px; }
</style>

Don
===================
| What is CSS stand for?
| >-----Original Message-----
| >
| >| >> How can I add a gradient to a cell, just like in
| Microsoft's homepage
| >(from
| >> blue to white)? And without resoting to pictures?
| >
| >You might be able to do that with CSS.
| >
| >Wont be able to do it with pure HTML.
| >
| >What's wrong with using an image?
| >
| >
| >.
| >
 
A

Andrew Murray

that's done with a background image - you need to create that image in your image
editor such as Photo ELements or whatever you have. I still use image composer
which has a gradient feature.
 
A

Andrew Murray

but.....if you want to have it work in every browser, then use a background image
for the table cell....but then this won't work in some browsers either - the
table cell background image is not supported in Netscape apparently (or at least
earlier versions).
 
Top