• This field is for validation purposes and should be left unchanged.

Gecko Designs
523 N Higgins Ave
Missoula, MT 59802

(406) 662-1123

Dreamweaver Tutorial: Rounded Corner Borders with Adobe Dreamweaver

Written by Gabriel on June 7, 2012

Learn How to Add Rounded Corners to Adobe Dreamweaver CS5.5 Websites

In this tutorial, you will learn how to use CSS rules to generate rounded corners anywhere on a Dreamweaver website.

What is a Border Radius?

CSS3 is the most recent iteration of cascading style sheets and it affords designers more efficiency & versatility. Rounded corners are used everywhere on computers, so why not do it with your Dreamweaver websites too?

How do rounded border corners look & function in a Dreamweaver website?

Below is an example to demonstrate the CSS border radius properties.

This is a <div> with 3 rounded corners

The border radius function can be used on any HTML element that can display a border.

Note: Internet Explorer does not currently render CSS rounded corners

Step 1: Select an Element to have Round Corners

If you are working with an existing Dreamweaver webpage, decide which element(s) should have rounded corners. For those just getting started or unsure how to use this CSS rule, create a new div with an id or a class to control the look of the div with CSS. Use this rule to set a background color, width and height. Giving the div a color and size will help us clearly see the div we are currently working on.

Step 2: Add the Border Radius Properties to Your Dreamweaver Webpage

Now that there is an element with a CSS rule to control it visually, you can add the border radius properties. Dreamweaver doesn’t yet support the border radius functions, so the properties must be manually added to the style sheet.

Below is a tool for generating the necessary CSS code to create the border radius desired for your Adobe Dreamweaver website. At each corner there is a number referring to the dimensions of each rounded corner. Choose a value for each corner and once you’re satisfied with the dimensions, copy all of the code shown in the center.

Return to Dreamweaver once the code has been copied. Now that we have the code ready to paste into the CSS rule, we must place the cursor in the correct place before pasting the new properties. To do this, go to the Dreamweaver CSS Styles Panel and right-click on the CSS rule to be edited. In the contextual menu (right-click menu), choose “Go to code.” Doing this places the cursor somewhere in the code for that CSS rule. Move the cursor to the end of the line it is on and create a new line by pressing the return key. With the cursor on an empty line, paste the border radius code and save. Now it’s time to test in a browser! If you want to change the dimensions and paste it again, you can remove the code you entered by highlighting and deleting it or use the Edit > Undo function.

Posted in Adobe Dreamweaver

Leave a Reply

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Featured Clients

IDA Crown

Montana History Foundation Bifold Brochure

Take the first step

Questions? Give us a ring, shoot us an email or send a homing pigeon our way. Let’s get the ball rolling! We can’t wait to hear from you!

Gecko Designs, LLC
523 N Higgins Ave
Missoula, MT 59802

(406) 662-1123

523 N Higgins Ave, Missoula
Jenni Fuller in the last week
Gabe at Gecko helped me not only with my business site, but also with my business in general, helping me imagine and re-imagine the user-experience. He sat with me for an hour, two different times, as I talked through what I wanted my site to be capable of, and then pointed me in a direction of how to make it happen. I am not entirely tech-savvy, and he gave me the tools I needed to take the next steps...and I always know I can call on Gecko if I get stuck or need a second look at what I've created. I highly recommend Gecko!
Bob Rock a week ago
WOW! It was a pleasure working with the team at GECKO. Easy to work with and the final product is better than I imagined. Looking forward to a long term relationship.
patrick archie 2 weeks ago
Gabe at Gecko Designs rescued a project of mine on short notice. He did a stellar job when it really mattered. Ninja at graphic design and great with communication skills. Highly recommend.
Michelle Levitus 8 months ago
Gecko Designs was a pleasure to work with while building out a brand new website. They understood what we were after and had creative and useful ideas to help us reach our goals for the website and for our organization. Communication was friendly and reliable throughout the process and they were available to troubleshoot any issues that arose before we went live, and after. Highly recommend!
Martin Judnich 9 months ago
From intro meeting to final website, this was a great experience. Gecko created exactly what I was looking for, and was very timely and affordable. Great collaboration, lots of changes, and they made me feel comfortable every step of the way. I could not recommend more.