Comments

lolandese’s picture

Title: Make rounded corners running parallel » Make rounded corners run parallel
StatusFileSize
new1.56 KB

The "problem" we encounter seems different from the one described in the mentioned article. The inner corner seems to have the same big radius applied to outer corner, where it should have a smaller radius. See image. Still it isn't parallel. The difficulty here is that two different nested elements should be used (preferably no div's as they might be enclosed in <p> tags, keep HTML valid). That implies first a change of the generated HTML. The configuration of the style where a border is or is not applied makes it a bit more complicated.

For a sample page see http://lolandese.altervista.org/node/2#block-block-7. Notice how the images in the block are "wrong" while the images in the node body next to it are "right".

Ugly rounded corner

lolandese’s picture

Issue tags: +CSS, +css3, +frontend, +theming, +configuration
lolandese’s picture

StatusFileSize
new2.69 KB

On the same page we have other Flickr images that come out "right". See image. The browser inspector apparently does not show any differences. Of course there are, so we just should analyze better.

We notice the "wrong" image has a "border" that is bigger than the expected 2px. If it would be 2px everything would seem to be solved.

Nice rounded corner

lolandese’s picture

Status: Active » Closed (works as designed)

Oops. Nothing wrong. Cause is the white border on the original Flickr photos. See https://www.flickr.com/photos/southseadave/16710391664/. Nothing to do about that.