Archive for April, 2011

Adobe Photoshop Elements 9.0.3 update

The update released today helps overcome the following issues:

  • Photoshop Elements Organizer does not work as intended on Wacom tablets
  • The brush tool in Photoshop Elements Editor does not work as intended on Wacom tablets
  • The open documents in tabbed view cannot be clicked using Wacom stylus

Click Help > Updates in Photoshop Elements. In Adobe Applications manager, look for Adobe Photoshop Elements 9.0.3 update under Photoshop Elements 9.0.

For more information, see http://kb2.adobe.com/cps/899/cpsid_89980.html

Applying border image to objects in Dreamweaver CS5.5

Using the border-image property in CSS, you can use a single image to generate a border for a box object.

Out of the five properties specified by the W3C for border-image, Dreamweaver supports the following three:

  • Image Source : Location of the image.
  • Image slice:  Treating the image as sliced into 9 sections.
  • Repeat-x and Repeat-y: 
    • Repeat – Repeats/tiles the image across the edge
    • Stretch – Stretches the image across the edge
    • Round – Tiles the image so that only a whole number of images fit. If a whole number cannot be accommodated, the image is stretched

The border-image property has the following format (webkit – supported by Dreamweaver Live View):

-webkit-border-image: url[border image-source] [border image –slice] [border image-repeat]

Example: -webkit-border-image: url(border-image.png) 50 50 50 50 repeat round;

Note that the pixels are specified without px being suffixed. For percentage, you must add the suffix “%” to the values.

The border-image property has the following format (Mozilla support):

-moz-border-image: url[border image-source] [border image –slice] [border image-repeat]

Example: -moz-border-image: url(border-image.png) 50 50 50 50 repeat round;

  1. In the CSS Styles panel, click Add Property.
  2. Select border-image from the menu.
  3. Click the “+” icon.
  4. Specify the source of the image.
  5. Specify the image slice values.
  6. Specify how the image has to be added to the edges using the Repeat-x and Repeat-y values.

Using border-radius CSS3 property in Dreamweaver CS5.5

You can apply rounded corners to box objects using the border-radius property. Specify the corner radius for all the corners of the box to create a rounded box.

The border-radius property has the following format:

border-radius: [corner radius – top left] [corner radius – top right] [corner radius – bottom right] [corner radius – bottom left];

Example: border-radius: 5px 6px 7px 8px;     

Dreamweaver Live View supports the W3C implementation of this property.

  1. In the Border category of the CSS Styles panel, click Add Property.
  2. Select border-radius from the menu.
  3. Click the “+” icon.
  4. Enter values for the corner radius for the four corners of the box. Select Same For All if you want to apply the same value to all the corners of the box.

Using box-shadow CSS property in Dreamweaver CS5.5

The box-shadow property in CSS allows you to apply single and multiple drop shadows to box objects.

Specify the following parameters for the box shadow property:

Color : Color of the shadow
Offset : Position of the shadow with respect to the text object.
Blur radius (optional): Creates an authentic feel for the shadow.
Spread radius (optional): Allows the shadow to scale to the size of the box object. A positive value causes the shadow shape to expand in all directions, while a negative value contracts the shadow shape. 

For more information, see the W3C website.

The box-shadow property has the following format (webkit – supported in Live View):

-webkit-box-shadow:  [x-offset] [y-offset] [blur radius] [spread radius][color];

Example: -webkit-box-shadow: 2px 1px 5px 7px #0C0; 

The box-shadow property has the following format (Mozilla support):

-moz-box-shadow:  [x-offset] [y-offset] [blur radius] [spread radius][color];

Example: -moz-box-shadow: 2px 1px 5px 7px #0C0;

In addition, CSS3 supports the inset property. The ‘inset’ value, if present, changes the drop shadow from an outer shadow (one that shadows the box onto the canvas, as if it were lifted above the canvas) to an inner shadow (one that shadows the canvas onto the box, as if the box were cut out of the canvas and shifted behind it). 

The box-shadow property has the following format (webkit – supported in Live View):

-webkit-box-shadow:  [x-offset] [y-offset] [blur radius] [spread radius][color];

Example: -webkit-box-shadow: 2px 1px 5px 7px #0C0;

The box-shadow property has the following format (Mozilla support):

-moz-box-shadow:  [x-offset] [y-offset] [blur radius] [spread radius][color];

Example: -moz-box-shadow: 2px 1px 5px 7px #0C0;

In addition, CSS3 supports the inset property. The ‘inset’ value, if present, changes the drop shadow from an outer shadow (one that shadows the box onto the canvas, as if it were lifted above the canvas) to an inner shadow (one that shadows the canvas onto the box, as if the box were cut out of the canvas and shifted behind it).

To apply the box-shadow property to an object, do the following:

  1. In the Border category of the CSS Styles panel, click Add Property.
  2. Select box-shadow from the menu.
  3. Click the “+” icon.
    Enter values for X-Offset, Y-Offset, Blur Radius, Spread Radius, and Color. For color, you can use the color palette to choose a color.

Using Text-shadow in Dreamweaver CS5.5

The text-shadow property allows you to apply single and multiple drop shadows to text objects. For more information, see the W3C website.

Specify the following parameters for the text-shadow property:

Color: Color of the shadow.

Offset: Position of the shadow with respect to the object. The X-offset specifies the horizontal distance. Negative values place the shadow to the left of the text. The Y-offset specifies the vertical distance. Negative values place the shadow to the bottom of the text.

Blur-radius (Optional): Creates an authentic feel for the shadow.

The text-shadow property has the following format:

text-shadow: [x-offset] [y-offset] [blur radius] [color];

Example: text-shadow: 2px 2px 4px #066;

You can apply the text-shadow property more than once to the same object.  In this case, the CSS panel displays only the first instance of the property although both instances are applied.

Example: text-shadow: 2px 2px 4px #000, -2px -4px 4px #099;

To apply Text-shadow using the CSS Styles panel, do the following:

  1. In the Show Only Set Properties View of the CSS Styles panel, click Add Property.
  2. Select text-shadow from the menu.
  3. Click the “+” icon.
  4. Enter values for X-Offset, Y-Offset, Blur Radius, and Color. For color, you can use the color palette to choose a color.