ThemeForest

I need help with rounded corners (Firefox & Safari)

294 posts
  • Has been a member for 3-4 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Beta Tester
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 1 and 9 items
  • United States
  • Referred between 1 and 9 users
PixeledArt says

I have a problem where when I add this CSS property -moz-border-radius: 4px; -webkit-border-radius: 4px; to a tag. The images on the website only shows up rounded in safari but not firefox.

Sorry for my english.

P.S Here’s the website Click Here

Images in the sidebar ad area.

3 years ago
125 posts
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 1 and 100 dollars
  • Bought between 50 and 99 items
  • United States
  • Referred between 50 and 99 users
Eight7Teen says

The problem is that you’re not actually “rounding” the image itself… Just the border.

So to cure this problem, add a 1px solid border that’s a bit darker than the background color to be able to see the effect. (if you make the border the same color as the bg, then the rounded border won’t be visible, thus ruining the effect)

So to recap… You should change your css to look like this:

.ads img, .ads.flickr .content img { -moz-border-radius:4px; border:1px solid #777777; margin:0 14px 15px 0; }

Hope that helps!

3 years ago
by
by
by
by
by