PDA

View Full Version : Gradient Background


indianleo
11-11-2007, 06:46 AM
Hello Friends
How to have a Gradient Background in Dreamweaver withou using image

wasovs4
11-11-2007, 08:53 AM
You Can Get An Html That I Once Used For My Piczo Site ....

Il Look For One Im Sure I Have The Code Some Where

wasovs4
11-11-2007, 08:58 AM
COPY AND PASTE IN YOUR BODY TAG



<body style="filter:progid:DXImageTransform.Microsoft.Gradient( endColorstr='#C0CFE2', startColorstr='#FFFFFF', gradientType='0');">
To use the gradient effect within your HTML tables, place the following code within your table tag: style="filter:progid:DXImageTransform.Microsoft.Gradient( endColorstr='#C0CFE2', startColorstr='#FFFFFF', gradientType='0');"

wasovs4
11-11-2007, 09:06 AM
ANOTHER ONE IS
style="filter:progid:DXImageTransform.Microsoft.Gradient( GradientType=1, StartColorStr='#FF003399', EndColorStr='#FF669900');"

http://www.mermeliz.com/html/gradient.htm

All Of These Codes Are For Different Graidient Effects..
Change The Colours By Fiddling Around...

Wasim

d a v e
11-11-2007, 12:47 PM
are you sure they're cross browser?!!

wasovs4
11-11-2007, 01:05 PM
When I Used Them On My Piczo All I Remember They Worked On Ie,Firefox,Safari And I Think The Others:roll:

d a v e
11-11-2007, 02:05 PM
well this doesn't http://www.mermeliz.com/html/gradient.htm
guess this is a bit of a giveaway

'Microsoft.Gr adient' ... :)

indianleo: just use a background image like everyone else!

wasovs4
11-11-2007, 09:35 PM
yep i guess a bg image is the best way lol oh and D A V E its my way of typing and for me it quicker lol.