With a transparent background.

Discussion in 'Javascript' started by Vincent, Jan 2, 2006.

  1. Vincent

    Vincent Guest

    Hi all,

    I would like to make a table or a div with a transparent background. The
    solution found does work only with FireFox using a png image. The second
    one works with IE and FireFox but make the text inside the div be
    transparent.
    Example:
    http://boxfly.free.fr/test/example.html

    Is anyone know how to manage to make a table with a transparent
    background without making the text inside the table being transparent ?

    Thanks,
    Vincent.
    Vincent, Jan 2, 2006
    #1
    1. Advertising

  2. Vincent

    Vincent Guest

    Vincent wrote:
    > Hi all,
    >
    > I would like to make a table or a div with a transparent background. The
    > solution found does work only with FireFox using a png image. The second
    > one works with IE and FireFox but make the text inside the div be
    > transparent.
    > Example:
    > http://boxfly.free.fr/test/example.html
    >
    > Is anyone know how to manage to make a table with a transparent
    > background without making the text inside the table being transparent ?
    >
    > Thanks,
    > Vincent.


    I've found a solution:
    http://perso.wanadoo.fr/stephane.moriaux/truc/transparences_ie.htm
    which works with IE 6.0 and FF but not tested with IE 5.x, could anyone
    having this browser tell me if the transparence works with it ?

    Thanks,
    Vincent.
    Vincent, Jan 2, 2006
    #2
    1. Advertising

  3. Vincent

    denisb Guest

    Vincent <> wrote:
    > I've found a solution:
    > http://perso.wanadoo.fr/stephane.moriaux/truc/transparences_ie.htm
    > which works with IE 6.0 and FF but not tested with IE 5.x, could anyone
    > having this browser tell me if the transparence works with it ?


    IE 5.1.7 on MacOs 9.2.2 => ok
    Mozilla 1.3.1 on MacOs 9.2.2 => ok
    Icab 3.0.2 on MacOs 9.2.2 => ok
    netscape 4.7.7 on MacOs 9.2.2 => not ok :)

    --
    @@@@@
    E -00 comme on est very beaux dis !
    ' `) /
    |\_ =="
    denisb, Jan 2, 2006
    #3
  4. Vincent

    VK Guest

    denisb wrote:
    > netscape 4.7.7 on MacOs 9.2.2 => not ok :)


    Netscape 4.x does support partial transparency neither for colors nor
    for images. If (for sport ?) one decides to emulate it for Netscape 4.x
    - she can use the "blury mesh" trick:
    a GIF images containing a mesh of transparent and say gray pixels. The
    effect is similar to Windows' desktop view when calling Start > Shut
    Down. This is the closest opacity emulation you can get for Netscape 4.x
    VK, Jan 2, 2006
    #4
  5. Vincent

    Guest

    Vincent napisal(a):
    > Vincent wrote:
    > > Hi all,
    > >
    > > I would like to make a table or a div with a transparent background. The
    > > solution found does work only with FireFox using a png image. The second
    > > one works with IE and FireFox but make the text inside the div be
    > > transparent.

    > I've found a solution:
    > http://perso.wanadoo.fr/stephane.moriaux/truc/transparences_ie.htm
    > which works with IE 6.0 and FF but not tested with IE 5.x, could anyone
    > having this browser tell me if the transparence works with it ?


    Alpha API:
    http://chrisken.utacm.org/code/alphaapi.phtml
    (MSIE/Moz)

    Poor man's transluscency through dithered GIF background:
    ..something {
    background:transparent;
    background-image:url(data:image/gif;base64,R0lGODlhAgACAPABAAAAAP%2F%2F%2FyH5BAEKAAEALAAAAAACAAIAAAIDRAIFADs%3D);
    }
    (all that support GIF transparency).
    Not all browsers support the data: URL in which case just decode it in
    one that supports and save as a plain gif file.
    , Jan 2, 2006
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. VB Programmer
    Replies:
    0
    Views:
    382
    VB Programmer
    Jun 30, 2003
  2. Ather Ali Shaikh

    How do i change background color to transparent

    Ather Ali Shaikh, Dec 4, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    4,322
    Chris Jackson
    Dec 4, 2003
  3. =?Utf-8?B?Um9iZXJ0?=
    Replies:
    0
    Views:
    446
    =?Utf-8?B?Um9iZXJ0?=
    Apr 6, 2004
  4. Oleg Ogurok
    Replies:
    0
    Views:
    778
    Oleg Ogurok
    Jan 27, 2005
  5. JWL
    Replies:
    4
    Views:
    587
    Michael Winter
    Sep 26, 2006
Loading...

Share This Page