corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » css - transparency?


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author css - transparency?
liamC
Member

Registered: 28th Feb 04
User status: Offline
19th Mar 08 at 11:00   View User's Profile U2U Member Reply With Quote

I have a tiny 1px by 1px image which is the background to my whole div
code:
background-image: url(images/home_services_bg.png);


I want to make the background 1px*1px image to 50% transparency, but when I put the following code in...


/* for IE */
filter:alpha(opacity=60);
/* CSS3 standard */
opacity.6


...then the whole of the DIV (text included) goes transparent as well.

Any ideas?

[Edited on 19-03-2008 by liamC]
AndyKent
Member

Registered: 3rd Sep 05
User status: Offline
19th Mar 08 at 13:11   View User's Profile U2U Member Reply With Quote

Assuming you're on a solid background, why not just turn down the transparency in photoshop over the correct background colour and re-save?
liamC
Member

Registered: 28th Feb 04
User status: Offline
19th Mar 08 at 14:11   View User's Profile U2U Member Reply With Quote

its a patterned background, and the locations of the DIVs differ slightly through each browser so it would look slightly 'off'

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
Announcement - Dot Folders Ian General Chat 140 4383
9th Jan 06 at 09:27
by gianluigi
 
CSS webdesign help Houckham Geek Day 3 895
20th Apr 06 at 11:01
by Houckham
 
any web designers here??? KITcorsa Geek Day 7 1602
12th Jul 06 at 19:16
by Dom
 
FAO: Webmasters: CSS Bart Geek Day 14 1125
24th Oct 06 at 14:57
by Ian
 
Input on a website please, web designers especially :D drunkenfool Geek Day 56 3018
25th Nov 06 at 19:08
by aPk
 

Corsa Sport » Message Board » Off Day » Geek Day » css - transparency? 29 database queries in 0.0100641 seconds