You are here: Re: CSS Transparent effect « HTML « IT news, forums, messages
Re: CSS Transparent effect

Posted by howachen on 02/27/06 17:55

well, the png solution doen't work very well with IE.

are there any pure css solution?

thanks.

Jim Higson 寫道:

> howachen@gmail.com wrote:
>
> > The image is a jpeg or a gif. If you have tried out my html above,
>
> 'Fraid not. It'd be much easier to do so if you posted a link, copy+paste
> into an empty document is tedious.
>
> > you will see that both the table's
> > bg (i.e. red in color) & the image have been faded out. (using CSS)
> >
> > My question is : how to apply this effect only on the table bg, but not
> > the image?
>
> Like I said, use a transparent PNG for the table background. If you only
> want one colour in the table background, create a 1 pixel image of the
> right colour/opacity and repeat it using the background-repeat rule.
>
> This is what I do on this page:
>
> http://surfcore.co.uk/forecasts
>
> Notice how the breadcrumbs area is transparent, but not the crumbs
> themselves. This is very similar to what you want.
>
> --
> Jim
>
> > Jim Higson 寫道:
> >
> >> howachen@gmail.com wrote:
> >>
> >> > hi,
> >> >
> >> > i have a table, and inside that table, there is an image.
> >> >
> >> > i want to apply transparent effect on the table's background, but not
> >> > the image, what can i do with css?
> >>
> >> Is the table's background an image? If so, try using a transparent PNG
> >> perhaps.
> >>
> >> --
> >> Jim

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация