Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

HTML - how do you do semi-transparent tables ?

Thread Tools
 
Search this Thread
 
Old 29 August 2006, 10:24 PM
  #1  
spectrum48k
Scooby Regular
Thread Starter
 
spectrum48k's Avatar
 
Join Date: Feb 2006
Posts: 2,519
Likes: 0
Received 0 Likes on 0 Posts
Default HTML - how do you do semi-transparent tables ?

saw this and thought it was really cool:
http://universalurban.com/maryjblige/

Now scroll down the page and see the way the table is sort of at 25% transparency, and shows the underlying background image

Are there any articles describing how this is done, and does it work across all browsers ?
Old 29 August 2006, 10:33 PM
  #2  
bob269
Scooby Regular
 
bob269's Avatar
 
Join Date: Mar 2003
Posts: 2,654
Likes: 0
Received 1 Like on 1 Post
Default

Its a command called alpha filter.

This is a snippet from the above site

BORDER-RIGHT: #e4c155 4px dashed; PADDING-RIGHT: 8px; BORDER-TOP: #e4c155 4px dashed; MARGIN-TOP: 0px; PADDING-LEFT: 8px; FONT-SIZE: 11px; FILTER: Alpha(Opacity=92); BACKGROUND-IMAGE: url(/site/art/global/black_trans.png); PADDING-BOTTOM: 8px; MARGIN-LEFT: auto; BORDER-LEFT: #e4c155 4px dashed; WIDTH: 860px; MARGIN-RIGHT: auto; PADDING-TOP: 8px; BORDER-BOTTOM: #e4c155 4px dashed; BACKGROUND-REPEAT: repeat; FONT-FAMILY: Arial, Helvetica, sans-serif

Pretty sure it's an IE6+ only feature.

Some examples can be found here http://www.ssi-developer.net/css/visual-filters.shtml

Old 29 August 2006, 11:06 PM
  #3  
HankScorpio
Scooby Regular
 
HankScorpio's Avatar
 
Join Date: Feb 2004
Posts: 5,848
Likes: 0
Received 0 Likes on 0 Posts
Default

You can add it in CSS but you need two entries, one for IE, one for Mozilla. Can't remember which is which!

filter:alpha(opacity=60);
opacity:0.6;
Old 29 August 2006, 11:33 PM
  #4  
spectrum48k
Scooby Regular
Thread Starter
 
spectrum48k's Avatar
 
Join Date: Feb 2006
Posts: 2,519
Likes: 0
Received 0 Likes on 0 Posts
Default

thanks - will check it out

typical - one version for mozilla, another for IE!
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
shorty87
Full Cars Breaking For Spares
19
22 December 2015 11:59 AM
buckerz69
Subaru Parts
7
08 October 2015 07:51 PM
Pro-Line Motorsport
Car Parts For Sale
2
29 September 2015 07:36 PM
shorty87
Wheels And Tyres For Sale
0
29 September 2015 02:18 PM
shorty87
Other Marques
0
25 September 2015 08:52 PM



Quick Reply: HTML - how do you do semi-transparent tables ?



All times are GMT +1. The time now is 01:44 PM.