Recommended Posts

And the "download now" buttons are extremely jagged and aliased, what were they thinking?

That's because the rounded corners are now achieved using the border-radius CSS rule and not an image. This is a much better solution because it's scalable and because it allows a better separation of content and display.

If you're using Gecko 1.9 or newer, the rounded button corners are anti-aliased and they look beautiful (try it!); the smooth native rendering of curves was introduced with the switch to Cairo/Thebes in Gecko 1.9. The downside is that this means that Gecko 1.8.1 and older (as well as all non-Gecko rendering engines) will render the border radii with jagged edges. With Firefox 2 retired and no longer supported, I think Mozilla is assuming that the vast majority of users are using at least Fx3.

Edited by kliu0x52
Link to comment
https://www.neowin.net/forum/topic/782858-mozilla-addons/#findComment-591117036
Share on other sites

That's because the rounded corners are now achieved using the border-radius CSS rule and not an image. This is a much better solution because it's scalable and because it allows a better separation of content and display.

If you're using Gecko 1.9 or newer, the rounded button corners are anti-aliased and they look beautiful (try it!); the smooth native rendering of curves was introduced with the switch to Cairo/Thebes in Gecko 1.9. The downside is that this means that Gecko 1.8.1 and older (as well as all non-Gecko rendering engines) will render the border radii with jagged edges. With Firefox 2 retired and no longer supported, I think Mozilla is assuming that the vast majority of users are using at least Fx3.

I was using google chrome 3.x, but you are right in firefox 3.5 it looks good.

Link to comment
https://www.neowin.net/forum/topic/782858-mozilla-addons/#findComment-591118740
Share on other sites

How? What's the code? I'd like to know for my website.

border-radius is a part of the upcoming CSS3 spec. Official spec

However, since CSS3 has not been finalized, no browser supports the official CSS3 "border-radius" rule. Instead, there is provisional support for it in Gecko and Webkit via -moz-border-radius and -webkit-border-radius, respectively. Gecko has supported -moz-border-radius since the very beginning of Gecko, and -webkit-border-radius was first added in Safari 3.

Most people who use border-radius use something like this, which covers Gecko's provisional support, Webkit's provisional support, and any future browser that supports the finalized CSS3 spec.

.some-class {
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

I highly recommend looking at Mozilla's docs on this because they provide some neat examples as well as a table outlining the compatibility for this across different browsers.

Edited by kliu0x52
Link to comment
https://www.neowin.net/forum/topic/782858-mozilla-addons/#findComment-591121224
Share on other sites

So that is a CCS code. I put it into my CCS file and link it to my webpage?

Yes.

It looks like these links that display information when you hover over a specific text in forums/sites (like dictionary definitions or acronyms, etc), fugly as hell.

What are you talking about? There isn't any of that on AMO. If you see that, then you probably have some malware on your system or something.

Link to comment
https://www.neowin.net/forum/topic/782858-mozilla-addons/#findComment-591134140
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.