Helping ordinary people create extraordinary websites!

Go Back   Web Development Forum > Website Designing > HTML/CSS
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-19-2008, 04:13 PM
BigAlReturns's Avatar
Moderator Extraordinaire!
 
Join Date: Dec 2007
Location: The Wirral, England
Posts: 288
Send a message via MSN to BigAlReturns
Default Gradients with CSS?

Can it be done? Well, almost, you only need one image and some CSS and you can create some really nice effects that leave your text intact. Technique is described here Any other fancy techniques anyone wants to share?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-19-2008, 04:48 PM
ryanhellyer's Avatar
Super Moderator
 
Join Date: Dec 2007
Posts: 685
Default

Quote:
Originally Posted by BigAlReturns View Post
Can it be done? Well, almost, you only need one image and some CSS and you can create some really nice effects that leave your text intact. Technique is described here Any other fancy techniques anyone wants to share?
You don't need images for that!

I don't have an example, but I messed around making drop shadows for images, buy applying a whole bunch of nested DIV tags with various border colours, background colours, positions etc. to create a smooth gradient shadow effect.

I wouldn't recommend it though as it makes your markup look quite messy. They do tend to reduce your download size a little though as the code to generate your own shadow is less than the size of an image file which does the same thing. I don't do this anymore, but it's definitely possible.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-31-2008, 07:42 AM
Junior Member
 
Join Date: Oct 2008
Posts: 24
Default

Quote:
Originally Posted by BigAlReturns View Post
Can it be done? Well, almost, you only need one image and some CSS and you can create some really nice effects that leave your text intact. Technique is described here Any other fancy techniques anyone wants to share?
Haven't any fancy techniques but wanna say your techniques is very nice, we should have to follow it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-13-2009, 02:33 PM
Junior Member
 
Join Date: Jan 2009
Posts: 14
Default

There must be a way to do this dynamically, ive seen it with a number of divs getting lighter and lighter
__________________
Web Design Gwent
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-24-2009, 04:56 AM
Junior Member
 
Join Date: Jan 2009
Posts: 5
Default

Hello,

Good technique buddy.



Regards,
sarah_9

Website Development Company India
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 05-07-2009, 05:48 AM
Junior Member
 
Join Date: May 2009
Location: http://www.underlink.co.uk
Posts: 24
Default

your best way to do a gradient is create a 1px wide image that is as long as you need your gradient and then set it as a repeating background, you can insert images with css to it can be done
__________________
UnderLink UK Site Design & Developemnt UnderLink
Cheap Affordable Web Design CMS, Logo Design and more...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 05-15-2009, 12:20 PM
Junior Member
 
Join Date: May 2009
Posts: 18
Default

I have heard about it but never seen it used or done before.
__________________
Come and experience the future of online marketing and advertising. You can upload all your business ads videos and all for free and reach new customers using the power of the net.


http://www.adwido.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Thread Tools
Display Modes

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

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

All times are GMT -5. The time now is 07:39 AM.


Website Design by Ducani Media Group
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.