spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com


Technical Lead
Thomson Reuters (Markets) LLC
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?


Logo

Fun with Mozilla Border Radii
Mozilla corner-specific properties



The border radius corner-specific properties are more straightforward than -moz-border-radius.

They all take a single value which affects both horizontal and vertical radii of a one element corner.

They are illustrated below:


-moz-border-radius-topleft:<length value>;
Accepts a single value and only the top-left corner is affected.
-moz-border-radius-topleft
Mozilla CSS Syntax: -moz-border-radius-topleft:55px;
Mozilla JS Syntax: element.style.MozBorderRadiusTopleft="55px";

-moz-border-radius-topright:<length value>;
Accepts a single value and only the top-right corner is affected.
-moz-border-radius-topright
Mozilla CSS Syntax: -moz-border-radius-topright:19px;
Mozilla JS Syntax: element.style.MozBorderRadiusTopright="19px";

-moz-border-radius-bottomright:<length value>;
Accepts a single value and only the bottom-right corner is affected.
-moz-border-radius-bottomright
Mozilla CSS Syntax: -moz-border-radius-bottomright:40px;
Mozilla JS Syntax: element.style.MozBorderRadiusBottomright="40px";

-moz-border-radius-bottomleft:<length value>;
Accepts a single value and only the bottom-left corner is affected.
-moz-border-radius-bottomleft
Mozilla CSS Syntax: -moz-border-radius-bottomleft:30px;
Mozilla JS Syntax: element.style.MozBorderRadiusBottomleft="30px";

On the next page, we've included an interactive tool. It has limited functionality in browsers other than Gecko ones.



Send a comment or suggestion to Peter Belesis

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business

Created: September 27, 2004
Revised: September 27, 2004

URL: http://webreference.com/dhtml/column70/4.html