css-opacity

This is a discussion on "css-opacity" within the Web Page Design section. This forum, and the thread "css-opacity are both part of the Design Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old Apr 15th, 2008, 01:13
MotorManiac's Avatar
Moderator
Join Date: Jul 2006
Location: USA
Posts: 120
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
css-opacity

Hi,
on my portfolio page, i am using opacity for the preview.
but it doesn't validate, does any one have any suggestions to make a it validate? I checked the code on W3C to make sure it was correct.

Any help would be appreciated.

http://maniacstudios.com/portfolio.html
Last Blog Entry: Website critique (Apr 16th, 2008)
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  
Old Apr 15th, 2008, 07:01
unitedcraig's Avatar
SuperMember

SuperMember
Join Date: Oct 2007
Location: Stockport
Age: 17
Posts: 844
Blog Entries: 1
Thanks: 0
Thanked 1 Time in 1 Post
Re: css-opacity

You have got an error in your doctype declaration, and you are missing alt tags for your images.

Sort these out and then see what errors are left

craig
__________________
Last Blog Entry: A Royal Mistake (Feb 20th, 2008)
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  
Old Apr 15th, 2008, 09:43
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css-opacity

Quote:
Originally Posted by motormaniac View Post
on my portfolio page, i am using opacity for the preview. but it doesn't validate, does any one have any suggestions to make a it validate?
The CSS property -moz-opacity is proprietary code from Mozilla. It won't validate because it's not part of a standard.

The property opacity is part of CSS 3. This will validate (but you need to select the CSS 3 profile).

Unless you want to support older versions of Firefox/Mozilla, -moz-opacity is pointless anyway. Mozilla now supports CSS3 opacity.
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  
Old Apr 15th, 2008, 21:48
MotorManiac's Avatar
Moderator
Join Date: Jul 2006
Location: USA
Posts: 120
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css-opacity

ok well, i fixed it so i only have two errors now, but i am not sure how to get rid of those because it is the filter thing for IE. any suggestions
Last Blog Entry: Website critique (Apr 16th, 2008)
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  
Old Apr 15th, 2008, 22:00
Reputable Member
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css-opacity

Link not working, server not found
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Apr 16th, 2008, 08:16
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css-opacity

Quote:
Originally Posted by motormaniac View Post
ok well, i fixed it so i only have two errors now, but i am not sure how to get rid of those because it is the filter thing for IE. any suggestions
Put it in an IE-only stylesheet, and use conditional comments to give it to IE.

That way your main stylesheet validates, and your IE one doesn't. But since nothing but IE sees it, it doesn't matter.
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

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
IE not setting opacity correctly djeyewater JavaScript Forum 4 Feb 8th, 2008 09:57
css opacity effect RZX Developer Web Page Design 6 Aug 7th, 2007 19:05
Opacity jonnymorris Web Page Design 8 Jul 24th, 2007 21:02
CSS opacity works in FF but not IE? WebNinja Web Page Design 5 Feb 25th, 2007 22:14
Weird Opacity behavior in PS 7 autumn_whispers2me Graphics and 3D 0 May 3rd, 2005 22:24


All times are GMT. The time now is 22:53.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42