WellRounded, from Media Lab, allows Dreamweaver users to quickly create graphically rich rounded rectangles that are:
WellRounded is distributed as an unlockable demo. Anyone can download the demo, try it out, and after purchasing enter an unlock code to activate it fully. There is no time-limit on the demo, but any graphics created with the unregistered version are defaced.
WellRounded installs like any Dreamweaver extension. Simply download the WellRounded .mxp file and double click it. Macromedia Extension manager will automatically install it. If for some reason this doesn't work, launch Macromedia Extension manager, open the WellRounded.mxp file from Extension Manager, and select "Install WellRounded".
By default, WellRounded is located on the Dreamweaver Layout tool bar. To open it, simply click the WellRounded icon.
WellRounded cannot operate on documents that have no path. The document must have been saved at least one time.
If you have a WellRounded unlock code, simply open WellRounded from the tool bar, and choose the Register button from the base DIV dialog. In there enter your name and unlock code and click OK. You do not need to edit the serial number or product ID fields.
WellRounded unlock codes are tied to the serial number of the host Dreamweaver application. When you upgrade Dreamweaver you'll receive a new serial number from Macromedia and will need new unlock codes for WellRounded. Registered users can get these at no charge. Go to www.medialab.com and use the appropriate button at the bottom of the home page.
The above tutorial walks you through the basics of the WellRounded UI. In particular we see the Class and DIV Dialogs.
The above tutorial goes through the basics of making WellRounded rects that don't use absolute positioning.
A tutorial for building a nice three column liquid layout using WellRounded rectangles as containers.
This tutorial uses the techniques of the previous three to show how WellRounded rects can be embedded into one another. We also use a 'margin reserving' technique to add a sidebar to the right side of the document.
A DIV is the html attribute that WellRounded uses around the content of the rounded rects it creates. WellRounded acutally uses multiple DIVs inside of DIVs in order to achieve the complex effect in a way that is both easy to edit in Dreamweaver's Design view and is compatible with all popular browsers. Each rounded rect needs a unique ID that it gives to the DIV for that rect. DIVs also determine the size and location of a rounded rectangle.
Classes are CSS code chunks describing how a particular style of rounded rect should look. This includes the background color and links to the locations in your site folder where the corner graphics are located. Classes also need unique names, and can be used for any number of rounded rects that share the same look. Once a WellRounded class is defined you can create hundreds of WellRounded rects that are all using the same class without creating any more files or extra CSS.
DIV IDs and Class names have the following limitations:
WellRounded does not screen or enforce any of these rules. It takes your input as you enter it. If you type in incorrect class or ID names then your document may not behave correctly.
This is the base window that always appears when you launch WellRounded. If there are no WellRounded classes in your document yet, then the Class Dialog will open immediately on top.
| ID | This is the unique ID for the DIV that contains the rect you are about to create.. |
| Width | The width of the rect (in pixels). You can always use the Dreamweaver UI to drag the rect wider or thinner as desired. Through code editing you can change the width to be measured in ems or percentages. |
| Height - popup | Fit to Content or Absolute If Fit to Content is chosen, then this WellRounded rect will always be tall enough to contain whatever is in it. If Absolute is chosen, then this WellRounded rect will always be an absolute size. You set the absolute size in the field next to this control. Note: No matter which option is chosen, you cannot use the Dreamweaver UI to drag tall the WellRounded Rect. |
| Height - field | The height of the rect (in pixels). This field is only used if the Height is set to Absolute. |
| Class Choice | A document may have several WellRounded classes defined. The rect you create from this dialog will be of the class chosen. |
| New Round Rect Class | Clicking this button will open the Class Dialog where you can define a new WellRounded class. |
| About | Learn the inspirational true-to-life story of heartbreak, fortitude, chastity, and victory: The Creation of WellRounded - Brian's Song. |
| Register | If you've purchased WellRounded (and we hope you do) click here to open up the registration dialog where you can enter you name and unlock code. |
| Cancel | Change of heart? This is your out. Note: If you created a new WellRounded class in this session then any files created for the rect are still on your drive. You'll have to delete them yourself. |
| OK | Allright! |

This is the window that appears on top of the DIV Dialog when WellRounded is launched in a document that has no WellRounded classes. It also appears if you click the New Round Rect Class button from the DIV Dialog.
| Required Parameters | |
|---|---|
| Class Name | This is the unique name for the class of round rects you will create if you hit OK. |
| Radius | The radius (in pixels) of the round rect corners |
| Feather | The feathering of the corners.
|
| Place .gifs here / Browse Button |
WellRounded will normally be outputting 8 different .gif files for the corner and edge graphics. It will place them in the field selected here. WellRounded automatically populates this field with the path to the same location as the current document. |
| Rect Color | The color of the round cornered rect. The default is a lovely orange. Transparent is not an available option. |
| Background Color | The background color of the round cornered rect. The default is set to the background color of the current document. Transparent is not an available option. |
| Optional Parameters | |
| Border Width | The width (in pixels) of the border to be drawn around the WellRounded rect. |
| Color for Border, Drop Shadow, Inner Shadow | The color of the border, drop shadow, or inner shadow. Important!: Setting the color activates the setting. In other words: if drop shadow color is set then there is a drop shadow. If it is not, there isn't. None of the other drop shadow settings affect whether or not there will be one - only the color matters. |
| Feathering for Drop or Inner Shadows | The feathering for these effects. Follows the same feathering scheme as above. |
| X and Y Offset for Drop or Inner Shadows | And offset in pixels. A positive X value moves the effect to the right, a negative X value moves the effect to the left. A positive Y value moves the effect down, a negative Y value moves the effect up. |
| The Controls | |
| Preview | Preview opens up a small preview of the round cornered rect settings. Note, this preview is always sized very small. It is not scaled, it is just a WellRounded rect containing nothing. |
| OK | Hitting OK defines a new class and writes the .gif files out to the hard drive. If you cancel in the subsequent DIV Dialog you will stop any custom HTML/CSS being added to your document, but the .gif files will have already been created. |
| Cancel | Leave, do nothing. |
| Help | Opens this file you're reading now. |
The WellRounded rectangle divs are very maleable and can be modified directly in Dreamweaver by dragging and stretching, as well as through direct access to the code. But if you want to make changes that would affect the graphics themselves (color, drop shadow offset, border width, etc.) then you can remake the class...if you know what you are doing. You must be able to distinguish the WellRounded class CSS from the WellRounded div CSS. Follow these steps:
If you have WellRounded rect that you like in one document and you want to use it another without remaking it, then you can transfer it if you understand the WellRounded CSS a bit. You must be able to distinguish WellRounded class CSS from the WellRounded div CSS. Follow these steps:
You'll find a variety of demonstrations on the main WellRounded page.
Why are there little white and black W's on my corners? ... a good night and a safe drive home </p>
</div></div><div class="wr_botrow"><div><div></div></div></div></div></div>
#addressround .wr_contentrow .wr_content {height: 260px;} /* -- edit height here! --*/
Delete this entire line, now the height will not be preset, but will follow the content. And the gap will disappear in IE 5 Mac. 







WellRounded outputs 8 graphic files whenever you click OK in the Class Dialog. These are the corners and side and top tiles used to construct the rect.
This is the HTML that is typically placed into your document by WellRounded. It is inserted at whatever edit point you had, or wrapped around any selection you made in the document.
<div id="mywrrect">
<div class="samplecname"> <div class="wr_toprow"><div><div></div></div></div><div class="wr_contentrow"><div class="wr_content">CONTENT GOES HERE<br />This WellRounded rect takes the height of the content within it. <br />To change its width, simply grab its edges and stretch it.</div></div><div class="wr_botrow"><div><div></div></div></div></div></div>
<!-- mywrrect -->
You can see the ID and class name that you provide through the WellRounded UI in red and blue respectively. The content of the rect is in bold. Note the closing comment.
You can safely edit anything in the content section (bolded above). The rest of the WellRounded rect HTML should be left alone.
WellRounded will typically insert two blocks of CSS into the <style> section of the <head> of your document. If you do not have those blocks, WellRounded will create them for you.
This is the CSS that represents a one instance of a particular WellRounded rectangle. It is pretty straightforward and very editable. The comments you see are added by WellRounded.
#mywrrect {
position: absolute;
left: 64px;
top: 64px;
width: 300px;/* -- edit width here! -- */
padding: 0;
margin: 0;
}
If the WellRounded rect has a height parameter of Absolute, then you will also see the following CSS. Otherwise, you won't.
#mywrrect .wr_contentrow .wr_content { height: 200px;} /* -- edit height here! --*/
You can edit all the attributes of the WellRounded rect divs that you see above, except the padding which must be left at 0.
To make the rounded rect inline just remove the positon, left, and top attributes. The width can be changed to ems, percentages, or removed as well.
If you use the Dreamweaver UI to drag the width of the rect it will affect the width parameter. But using Dreamweaver UI to drag the height will not affect the height. The height can only be changed by adding more content to the container (for Size to Content rects) or editing the property at /* -- edit height here! -- */ for Absolute height rects.
Here is the CSS that is typically included by WellRounded for a new round rect class:
.samplecname { background-color: #DD6633;}
.samplecname .wr_toprow { background: url(samplecnametoptile.gif) repeat-x; }
.samplecname .wr_toprow div { background: url(samplecnametopleft.gif) no-repeat top left; }
.samplecname .wr_toprow div div { background: url(samplecnametopright.gif) no-repeat top right; }
.samplecname .wr_contentrow { background: url(samplecnamelefttile.gif) repeat-y; }
.samplecname .wr_contentrow .wr_content { background: url(samplecnamerighttile.gif) repeat-y right;}
.samplecname .wr_botrow { background: url(samplecnamebottile.gif) repeat-x; }
.samplecname .wr_botrow div { background: url(samplecnamebotleft.gif) no-repeat top left; }
.samplecname .wr_botrow div div { background: url(samplecnamebotright.gif) no-repeat top right; }
.samplecname .wr_toprow, .samplecname .wr_toprow div,
.samplecname .wr_botrow, .samplecname .wr_botrow div
{ width:100%; height:26px; font-size:1px; }
.samplecname .wr_content { padding: 1px 2em; margin: 0; }
.samplecname p { padding: 0; margin: 1em 0 0 0; padding-bottom: 1em; }
Very little of the class can be safely edited. If you want to play around with these settings, we strongly urge you to carefully check everything in all browsers.
.samplecname .wr_content { padding: 1px 2em; ... The 2em value of the padding can be edited slightly. If you want your content to move towards the edges of the round rect, you can edit this value. It can be set to a pixel value instead of em.
.samplecname p { padding: 0; margin: 1em 0 0 0; padding-bottom: 1em; } The margin values are top, right, bottom, left respectively. You can safely edit any of them. These margins affect any <p> tags you place inside the content area.
.samplecname p { padding: 0; margin: 1em 0 0 0; padding-bottom: 1em; } Do not edit the padding-bottom: 1em; which is attached to the class <p>tag.