Hi everybody. Here is my problem: I've been playing lately with CSS3 and jquery, and I ended with developing a button maker. I've got an issue when I try to use the settings to calculate my linear gradient for mozilla and webkit. So I was wondering if there is a correlation between mozilla and webkit concerning the linear gradient? If so, how to calculate the right angle? Here is an example: -webkit-gradient(linear, 0% 0%, 29% 100%, from(#666666), to(#FCF5E3)) -moz-linear-gradient(54% 45% 140deg,#666666, #FCF5E3) Code (markup): you can see the website here : http://www.whatabutton.com Thanks for your help.
Problem solved. I didn't find a solution with css3, so I did it with some trigonometry. I'm not sure I can post the solution here as it's more math and javascript than css, so let me know if you're interested.