Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorj.bish
    • CommentTimeDec 22nd 2005
     permalink
    So I want my main CSS container to be transparent enough to let a background image show through. That's easy.

    But I don't want the content -- text and images -- inside the container to be transparent. So a viewer will see the background image wherever there is white space in the container, but the text and images will completely cover that background image.

    I would appreciate any help from the CSS doyens.
    •  
      CommentAuthornifkin
    • CommentTimeDec 22nd 2005
     permalink
    use a translucent PNG for a background image then use one of the JS fix libraries for IE?
    •  
      CommentAuthorGustavs
    • CommentTimeDec 22nd 2005
     permalink
    Can you give any link about that JS fix? I have had my troubles with IE and PNG transperent images. :/
  1.  permalink
    This guy's js code fixes all kinds of IE problems (including transparency):

    http://dean.edwards.name/IE7/
    •  
      CommentAuthorGustavs
    • CommentTimeDec 22nd 2005
     permalink
    Thanks :)
    • CommentAuthorspyyddir
    • CommentTimeDec 23rd 2005 edited
     permalink
    Make a small gif (like 5x5 pixels) thats all transparent and then make every other pixel black (it will look like a checkerboard pattern when zoomed really far in). Then assign it to repeat with css and it will seem transparent.

    EDIT: spelling
Add your comments
    Username Password
  • Format comments as (Help)