|  | Posted by Jim Higson on 02/26/06 21:13 
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] |