spacer

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


Vice President of Risk Technology - READY TO HIRE! (NYC)
Next Step Systems
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs


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, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint

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

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