allan8904 Posted December 8, 2007 Share Posted December 8, 2007 hi, i'm currently working on a php game with some friends, and i'm curently trying to implement a chat system. We would like it to be placed on the bottom of the window (which we did quite easily using some php chat source code), but we would like to be able to make the chat window transperent, so the user can still see the map. Is there an easy way to make an existing chat transperent, or is there source code taht i could download for a transperent chat in PHP Thanks, -Allan Quote Link to comment Share on other sites More sharing options...
corillo181 Posted December 8, 2007 Share Posted December 8, 2007 wouldn't that be part of css? Quote Link to comment Share on other sites More sharing options...
thebadbad Posted December 8, 2007 Share Posted December 8, 2007 As the guy says, that's done with CSS. Create a 1x1 pixel transparent image (in whatever program you're using), and fill it with, say, a white dot with 80% opacity. Save it as a PNG file with alpha transparency, and use it as the background of the element containing the chat window. CSS (assuming the container element has id="chatcontainer"): #chatcontainer { background: transparent url("filepath/filename.png") repeat top left; } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.