Off Topic Cafe If it doesn't belong in any of the other forums. Post all Off Topic stuff here.

Any Css Geek In Here?

Old May 25, 2007 | 04:45 PM
  #1  
JGeZau's Avatar
Thread Starter
Senior Member
 
Joined: Jun 2005
Posts: 396
Likes: 0
From: McAlle, TX
Default

I'm learning CSS and I'm running into this problem with the opacity property. I'm testing this property and when looking at my test page with Firefox the background does display properly (transparent), but when looking at it in IE7 the background is just plain white, with no transparency. The page has internal CSS and the property goes like this

filter:Alpha(opacity=60); -----FOR IE
opacity:0.6; ------------------CSS STANDARD
-moz-opacity:0.6; ------------FOR FIREFOX

So I was wondering what I'm doing wrong, or is there another property to display transparent backgrounds with CSS in IE?

TEST PAGE

Thanks
Reply
Old May 25, 2007 | 05:36 PM
  #2  
miamitib's Avatar
Senior Member
 
Joined: Mar 2006
Posts: 160
Likes: 0
From: Sarasota, Fl
Vehicle: 2001 Hyundai Tiburon
Default

IE is notorious for compatibility issues with CSS... at least thats been my experience with working with CSS.
Reply
Old May 25, 2007 | 06:09 PM
  #3  
Caj Darkmoon's Avatar
Senior Member
 
Joined: Mar 2008
Posts: 1,759
Likes: 0
From: Grand Rapids, MI
Vehicle: 2001 Hyundai Tiburon
Default

I don't believe transparency works in IE. Try searching for "CSS IE transparency" or "CSS IE transparency hack" on google.
Reply
Old May 25, 2007 | 07:13 PM
  #4  
JGeZau's Avatar
Thread Starter
Senior Member
 
Joined: Jun 2005
Posts: 396
Likes: 0
From: McAlle, TX
Default

^^^^
It does support transparency. I added the transparency (opacity) property to my MySpace profile, I just don't know why it isn't working in this one
Reply
Old May 25, 2007 | 07:30 PM
  #5  
mindlessdoubt's Avatar
Senior Member
 
Joined: Sep 2004
Posts: 227
Likes: 0
From: Bel Air, MD
Default

try http://www.htmlgoodies.com ...you might find something on there
Reply
Old May 25, 2007 | 07:38 PM
  #6  
Sparticus's Avatar
Senior Member
 
Joined: Mar 2006
Posts: 6,341
Likes: 0
From: Mass
Vehicle: 97 Tiburon
Default

on the top of your page, just put a link to Mozilla saying "this page was coded using firefox" and have it hyperlink directly to a firefox download tongue.gif

fvck IE
Reply
Old May 25, 2007 | 07:45 PM
  #7  
zoned019's Avatar
Senior Member
 
Joined: Jul 2004
Posts: 5,155
Likes: 0
From: Eau Claire, WI
Vehicle: 97 Tib
Default

filter:alpha(opacity=70);

is the only way i've ever seen it work. you probably are missing a semicolon or something stupid in another place in the code.

i hate how different browsers render things differently. it's so stupid.
Reply



All times are GMT -6. The time now is 11:51 AM.