|
|
#1 |
|
CSS3 validation?
After searching around the web for drop shadow, I found that the css3 has a nice and easy way to accomplish this by writing to lines of code.
Code:
-moz-box-shadow: 1px 1px 10px #999; -webkit-box-shadow: 1px 1px 10px #999;
__________________
15 inch Macbook Pro Retina 2.3 , 16 GB RAM; Iphone 5; Ipad 2 |
|
|
|
0
|
|
|
#2 | |
|
Quote:
Those hacks don't play well with the validators. Try seeing if you can use the code without those hacks.
__________________
My Websites ![]() www.acdesigns.cz.cc www.youtube.com/user/xRHStudios www.renese-williams.deviantart.com |
||
|
|
0
|
|
|
#3 |
|
I tried just using the code like this:
Code:
box-shadow: 1px 1px 10px #999;
__________________
15 inch Macbook Pro Retina 2.3 , 16 GB RAM; Iphone 5; Ipad 2 |
|
|
|
0
|
|
|
#4 |
|
I think that 'box-shadow' without the '-webkit' or '-moz' prefix works in Opera 10.5 and later. Here's an A List Apart article on how to add shadows to sections of your webpage: http://www.alistapart.com/articles/cssdrop2/. They go through the process step by step, and if you do everything they suggest, you'll even get shadows in IE5.5 and IE6.
__________________
13" MacBook Pro, 2.53 GHz, 4 GB RAM, http://consoleemu.com |
|
|
|
0
|
|
|
#5 |
|
The validator isn't an absolute law or anything. It just lets you know where there's non-standard or bad syntax code at. Using browser-specific CSS is fine even if the validator doesn't approve of it.
|
|
|
|
0
|
|
|
#6 |
|
The following prefixes are used by different browsers:
-webkit-property = Webkit-based browsers (Safari, Chrome) -moz-property = Gecko-based browsers (Firefox) -o-property = Opera -ms-property = Internet Explorer These vendor-specific extension exists when a CSS property is still a draft. That way your CSS can still be valid. You need to add this to your "validation links": &profile=css3 I'm not sure why it's not working for you. Be aware that sometimes the validator will tell you a line isn't valid but the real problem might be a line or two before that.
__________________
The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time. -Tom Cargill, Bell Labs. |
|
|
|
0
|
|
|
#7 |
|
I finally got this working, thanks alot for the answers guys, I really appreciate it.
__________________
15 inch Macbook Pro Retina 2.3 , 16 GB RAM; Iphone 5; Ipad 2 |
|
|
|
0
|
|
|
#8 |
|
I am looking forward to the final CSS3 approval so we can skip the browser prefixes.
__________________
jonshipman.com |
|
|
|
0
|
|
|
#9 | |
|
Quote:
__________________
My Websites ![]() www.acdesigns.cz.cc www.youtube.com/user/xRHStudios www.renese-williams.deviantart.com |
||
|
|
0
|
|
|
#10 |
|
|
0
|
|
|
#11 |
|
Just <--if IE> it and show a "Required plugin missing" box that points to Google Chrome Frame.
__________________
jonshipman.com |
|
|
|
0
|
|
|
#12 |
|
Hmm is IE8 and Opera currently not CSS3 supported?
I tried running this: Code:
-o-box-shadow: 1px 1px 1px #999; -ms-box-shadow: 1px 1px p1x #999;
__________________
15 inch Macbook Pro Retina 2.3 , 16 GB RAM; Iphone 5; Ipad 2 |
|
|
|
0
|
|
|
#13 |
|
Nope. CSS3 will be supported in IE9 and Opera, IIRC, only supports approved standards. Does just plain ole' box-shadow without the prefix work?
__________________
jonshipman.com |
|
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| New to HTML5/CSS3 etc... | d88co88 | Web Design and Development | 27 | Jan 31, 2012 08:53 AM |
| Is anyone able to perform Receipt validation?? | aravind | Mac Programming | 15 | Dec 6, 2011 09:21 AM |
| Browser CSS3 test | clevin | Mac Applications and Mac App Store | 4 | Jan 9, 2009 02:50 AM |
| CSS3 Web Fonts | Nermal | Web Design and Development | 3 | Apr 15, 2008 12:03 PM |
All times are GMT -5. The time now is 01:26 PM.







My Websites
Linear Mode

