Getting transparency for container but not contents?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • chris@chrisbeach.co.uk

    Getting transparency for container but not contents?

    Hi there,

    I'd like to make a container div semi-transparent and its contents
    opaque.

    On the following page, the semi-transparency of the containing div is
    inherited by its children (whereas I'd like the "Pigeon In Motion"
    article to be fully opaque against its semi-transparent white
    background):



    Any ideas?

    Chris

  • grakat

    #2
    Re: Getting transparency for container but not contents?

    In article <1116892037.940 210.265150@z14g 2000cwz.googleg roups.com>,
    chris@chrisbeac h.co.uk says...[color=blue]
    > Hi there,
    >
    > I'd like to make a container div semi-transparent and its contents
    > opaque.[/color]
    [color=blue]
    >
    > Any ideas?
    >[/color]

    Something like this?

    [color=blue]
    > Chris
    >
    >[/color]

    --
    tenxng@ban.arg. nh
    Email addy ROT13'd

    Comment

    • chris@chrisbeach.co.uk

      #3
      Re: Getting transparency for container but not contents?

      Thanks for the idea, but I have used that kind of transparency before
      (the alternate pixels transparent trick) and when scrolling through
      large sections in Firefox and Safari, they sometimes 'tear' or flicker.

      I'd rather get transparency using a W3C method

      Comment

      Working...