NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page SemiTransparent Table, Opaque contents

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 08-27-2007, 03:52 AM THREAD STARTER               #1 (permalink)
New Member
Join Date: Aug 2007
Posts: 3
ashlewis87 is an unknown quantity at this point
 



SemiTransparent Table, Opaque contents


Hi, im wanting to make a table that has a background that is semi transparent, so the page background can be seen through it. However i want the contents of the table to stay opaque.(the text)

i found this thread but i couldnt seem to make it work, maybe its not what im looking for: http://www.namepros.com/code/250080-...-contents.html

here is the code im working with, its simply a background image and a table. what needs to be done to achive the effect?

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<style type="text/css">
<!--
body {
	background-image: url(redwine.jpg);
}
-->
</style></head>

<body>




  <table width="700" border="0" align="center" cellpadding="4" cellspacing="0">
    <tr bordercolor="#000000" bgcolor="#FFFF99">
      <td colspan="3" align="left" valign="top" bgcolor="#A60029" class="style4"><div align="center"><span class="style27">Wine - Red</span></div></td>
    </tr>
    <tr bordercolor="#000000" bgcolor="#F2D9E0">
      
      
      <td width="235" align="left" valign="top" bgcolor="#F2D9E0" class="style4"><div align="left" class="style21">Vini Della Casa (House wine)</div></td>
      <td width="360" align="left" valign="top" bgcolor="#F2D9E0" class="style4"><p class="style21">Glass (125ml)</p></td>
      <td width="81" align="left" valign="top" bgcolor="#F2D9E0" class="style4"><div align="center" class="style21">&pound;2.75</div></td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td align="left" valign="top" class="style4"><div align="left" class="style21"></div></td>
      <td align="left" valign="top" class="style4"><p class="style21">Large glass (175ml)</p></td>
      <td align="left" valign="top" class="style4"><div align="center" class="style21">&pound;3.25</div></td>
    </tr>
    <tr bordercolor="#000000" bgcolor="#F2D9E0">
      <td align="left" valign="top" class="style4"><div align="left" class="style21"></div></td>
      <td align="left" valign="top" class="style4"><p class="style21">1/2 Litre</p></td>
      <td align="left" valign="top" class="style4"><div align="center" class="style21">&pound;6.75</div></td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td align="left" valign="top" class="style4"><div align="left" class="style21"></div></td>
      <td align="left" valign="top" class="style4"><p class="style21">1 Litre</p></td>
      <td align="left" valign="top" class="style4"><div align="center" class="style21">&pound;12.50</div></td>
    </tr>
  </table>




</body>
</html>
ashlewis87 is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 12:16 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger