Home arrow JavaScript arrow Building Rounded Corners With CSS and JavaScript

Building Rounded Corners With CSS and JavaScript

Rounded corners give your website a professional, polished look. Unfortunately, the old school way of building rounded corners is rather messy and involves a lot of redundant markup. This article explains a much cleaner way of achieving the same effect.

Author Info:
By: Alejandro Gervasio
Rating: 4 stars4 stars4 stars4 stars4 stars / 58
January 03, 2005
  1. · Building Rounded Corners With CSS and JavaScript
  2. · Our old friendly tables
  3. · The CSS approach
  4. · Working with fixed boxes
  5. · Nesting div elements
  6. · Using the DOM approach

print this article

Building Rounded Corners With CSS and JavaScript
(Page 1 of 6 )


Surely, across our numerous visits, when surfing the Web, we have seen a lot of websites presenting fancy and very attractive background effects on their pages. From simplistic approaches to fairly complex designs, backgrounds are always relevant elements to achieve the professional “look and feel” that most Web designers intend to reach.  Building sites that offer visitors highly qualified content, “wrapped” into an elegant visual presentation, is very often one of the most challenging tasks that developers have to face.

One of the most common background effects that empowers considerable visual aspects of a website is rounded corners. They have been used for years as decorative effects, and keep on being among the most requested design techniques.

With the progressive implementation and support for CSS that most modern browsers offer today, rounded corners are well suited for being developed within their scope.

When working with CSS, as with other things, there are several ways and solutions for achieving the desired effect.

In this article, we’ll be taking a look at the advantages and drawbacks of some of the usual techniques currently in use, and present newer approaches using an excellent combination of CSS and JavaScript.

blog comments powered by Disqus

- Project Nashorn to Make Java, JavaScript Wor...
- JavaScript Virus Attacks Tumblr Blogs
- Google Releases Stable Dart Version, JavaScr...
- Khan Academy Unveils New JavaScript Learning...
- Accessing Nitro? There`s an App for That
- JQuery 2.0 Leaving Older IE Versions Behind
- Fastest JavaScript Engine Might Surprise You
- Microsoft Adjusting Chakra for IE 10
- Brendan Eich: We Don`t Need Google Native Cl...
- An Overview of JavaScript Statements
- An Overview of JavaScript Operators
- Overview of JavaScript Variables
- More of the Top jQuery Social Plugins
- The Top jQuery Social Plugins
- More of the Top jQuery Slider Plugins

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials