Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I am new in web designing. I have some probuelms in my website. Firstly That is not cross browser website and I want to make it. But I don't know how to do this. I have read some articals about this but have not got any help. Please tell me how I can make cross browser website. Secondaly I have another problem. When I have validate my website css file then I have got these errors 218 .box Property border-radius doesn't exist in CSS level 2.1 but exists in : 6px 6px 219 .box Property -moz-border-radius doesn't exist : 6px 6px 220 .box Property -webkit-border-radius doesn't exist : 6px 6px. But I don't know how to solve this also. Please tell me is anyone know about that.

www.harvestcreativemedia.com
Posted

1 solution

You already know that border-radius is implemented in different ways in different rendering engines using different (mostly non-standard) property names. The trick is to use them all in for the same element or class. If should work for Firefox/Seemonkey, Safari/Chrome, Opera and IE9.

For example, see the direction and samples here:
http://www.css3.info/preview/rounded-border/[^],
http://www.the-art-of-web.com/css/border-radius/[^].

If you need some more or in doubt, you can find tons of other samples if you Google.

Good luck,
—SA
 
Share this answer
 
Comments
jai Gopal Kumar 20-May-11 10:27am    
Thanks for your help. I have tried to use this code for my video box.
15 #showreel 100% is not a box-sizing value : 100% 100% 100% 100% 16 #showreel Property -moz-box-sizing doesn't exist : 100% 100% 100% 100% 17 #showreel Property -webkit-box-sizing doesn't exist : 100% 100% 100% 100% 18 #showreel 100% is not a box-sizing value : 100% 100% 100% 100%
But that is not working. Can you suggest me something because I have checked my website on different browsers and that is only fine on safari but other browsers are changing the layout for video box.
Sergey Alexandrovich Kryukov 20-May-11 23:56pm    
I don't use many browsers myself, only can reproduce what is written in those samples. I actually tried them on my browser (Seemonkey), it worked for me. So, what's not working in your case and in what browser(s)? Does it work on at least one?
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900