html - Border radius and the wonderful cross browser issues - simple fix? -


i'm, putting border radius around image , around div. i'm testing in safari , firefox @ moment. both yield different results.

for image have:

margin:0; border-style: solid; border-color: #fff; border-width: 6px;  border-radius: 46px; -webkit-border-radius: 46px; -moz-border-radius: 46px; 

result in firefox - beautiful. safari - left side radius not smooth, looks corner has been chopped off little bit.

for div have:

border-right-style: groove; border-right-color: #eee; border-right-width: 6px;  border-bottom-left-radius: 46px; -webkit-border-bottom-left-radius: 46px; -moz-border-bottom-left-radius: 46px;  border-top-right-radius: 46px; -webkit-border-bottom-right-radius: 46px; -moz-border-bottom-right-radius: 46px; 

result in safari - beautiful. firefox - bottom corner radius doesn't display. top 1 does.

is there obvious i'm missing? there fix or way of solving type of issue?

edit: i've updated order in specified per http://css-tricks.com/almanac/properties/b/border-radius/ still same result

to have smoother borders in safari , should fake borders box-shadow or add thin box-shadow. http://codepen.io/gcyrillus/pen/jbxdo

unprefixed border-radius, in own opinion, should last rule. if 4 corners have same radius value, short way write should used :) ?

older version of safari/chrome had bugs image.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -