spacer

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


Senior Lotus Notes Developer
AMS Staffing Solutions
US-MD-Baltimore

Justtechjobs.com Post A Job | Post A Resume
Developer News
Google Chrome Playing Catch-Up on Extensions
Open Solutions Alliance Gets New Leadership
Red Hat Spacewalk Expands Linux Management

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.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

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

webref The latest from WebReference.com Browse >
Popular JavaScript Framework Libraries: An Overview - Part 3 · Accessing Your MySQL Database from the Web with PHP · Working with the DOM Stylesheets Collection
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
MS Access and MySQL · Cisco AutoQoS: VoIP QoS for Mere Mortals · While VoIP Adoption Explodes in Enterprise, Carrier Spending Lags

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

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