Irish SEO,  Marketing & Webmaster Discussion

 
Affiliates get Paid On Results, Click Here!

Quick CSS question

This is a discussion on Quick CSS question within the Coding Help forums, part of the Webmaster Help category; I am using the following bit of code to adjust the opacity of the background of a div Code: filter: ...


Go Back   Irish SEO, Marketing & Webmaster Discussion > Webmaster Help > Coding Help

Register Forum Rules FAQDonate Members List Calendar Search Today's Posts Mark Forums Read


Notices

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-08-2007, 12:43 PM
Frontpage User
 
Join Date: Aug 2007
Posts: 3
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
DublinDude will become famous soon enough
Default Quick CSS question

I am using the following bit of code to adjust the opacity of the background of a div

Code:
filter: alpha(opacity=70);
It works in IE but not in Firefox or Safari. Is there a way around this or is this exclusive to IE only?

Thanks, DD
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 05-08-2007, 05:41 PM
louie's Avatar
Senior Member
 
Join Date: Jan 2006
Location: Dublin, Ireland
Posts: 2,048
Nominated 5 Times in 3 Posts
Nominated TOTW/F/M Award(s): 1
louie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enough
Send a message via Yahoo to louie Send a message via Skype™ to louie
Default

Mandarin Design: CSS Opacity and Transparency

you need to add something for FF
__________________
:. Web Design & Development Web Design Ireland
:. Search Engines Optimization Search Engines Optimization
:. Directory Submission Directory Submission
:. News & Press Release Ireland GiveItSocks.com
:. Used Cars Ireland, Car Parts & Car Audio Cars For Sale, Car Parts & Accessories
:. I Have 2 Find It Directory SEF Directory
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 05-08-2007, 06:32 PM
Frontpage User
 
Join Date: Sep 2006
Posts: 11
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Gala will become famous soon enough
Default

Should be:

Code:
filter: alpha(opacity=70);
opacity: 0.7

FF will pick up on the opacity attribute.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 05-08-2007, 06:45 PM
d-tour's Avatar
Coder
 
Join Date: Apr 2007
Location: Cork
Posts: 82
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
d-tour will become famous soon enough
Default

also include
Code:
-moz-opacity:.70;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 06-08-2007, 11:21 AM
Frontpage User
 
Join Date: Aug 2007
Posts: 3
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
DublinDude will become famous soon enough
Default

Thanks guys! That did the trick!

My next problem is that the image on the bottom right of this page appears raised by a few pixels in FF.

|| - CV - ||

I have tried several things at I can't seem to get it to work! I think I had it working originally but I messed it up. It maybe something to do with the doctype code at the top I am not sure!

EDIT: I got it working now! :P. It was the doctype thingy! Woo hoo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
css, question, quick

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
CSS text align top to bottom question Cormac Coding Help 10 14-05-2007 07:39 PM
CSS Image Positioning borderfox Coding Help 13 08-05-2007 07:05 PM
css styles problem JESSICA Coding Help 4 14-02-2007 04:34 PM
Bandwidth question JamesA Webmaster Discussion 4 28-01-2007 10:56 AM
dynamic css 7aken Coding Help 6 10-10-2006 08:13 AM


Sponsored links

Paid On Results


All times are GMT +1. The time now is 05:08 AM.


Powered by: vBulletin Version 3.7.3, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Hosted in Ireland by Blacknight - Test your ISP |Irish Hosting Directory| Armchair.ie|Logo by Eden Web Design|Avatars by Afterglow |Latest Blog Entries | VPS HostingAd Management by RedTyger

Search Engine Friendly URLs by vBSEO 3.2.0