I'm trying to make a table with a background picture a little transparent which blends with the background and has content ontop that is not transparent. Please Help!
This is the code: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>Home</title> </head> <body bgcolor="#808080"> <table border="0" cellspacing="0" width="100%" align="center" cellpadding="0" height="10"> <tr> <td width="100%" style="background-image: url('http://mudd.serveftp.com/muddspace/statics/modules/topperhome.bmp'); opacity: 0.4; filter: alpha(opacity=40)" height="85"> <table border="0" cellspacing="0" width="100%" cellpadding="0" height="83"> <tr> <td width="100%" height="52"> <p align="center"><font color="#008000" size="3" face="Arial"><b>Welcome To My Profile!</b></font> </td> </tr> </table> </table> </body> </html>
Maybe the easiest thing to do is make the background image transparent in photoshop and save it as a PNG file
I found an easyer way of doing this, All i had to do was make a div positioned ontop of the transparent background picture and put my writting in the div instead of the transparent picture! make the div like this: <div style="position: absolute; left: 240; top: 31; width: 241; height: 22"> <b><font color="#008000" size="4" face="Arial"> Welcome to my profile!</font></b> </div> and try to center it ontop of the picture (This may take some time)