programming4us
 
Graphics
 

Adobe Dreamweaver CS5 : Styles and Their Attributes (part 3) - List options, Positioning options, Extensions options

5/2/2013 9:32:09 PM

6. List options

CSS gives you greater control over bulleted points. With Cascading Style Sheets, you can now display a specific bulleted point based on a graphic image, or you can choose from the standard built-in bullets, including disc, circle, and square. The CSS List category also enables you to specify the type of ordered list, including decimal, Roman numerals, or A-B-C order. Figure 7 shows, and Table 6-6 describes, the settings for lists.

Table 6. List Category for Styles
List SettingDescription
TypeSelects a built-in bullet type. The options include disc, circle, square, decimal, lowercase Roman, uppercase Roman, lowercase alpha, and uppercase alpha.
Bullet ImageSets an image to be used as a custom bullet. Enter the path to the image in the text box.
PositionDetermines whether the list item wraps to an indent (the default) or to the margin.

Figure 7. Use the CSS List category to specify a graphic to use as a bullet.

7. Positioning options

For many designers, positioning has increased creativity in page layout design. With positioning, you have exact control over where an element is placed on a page. The positioning attributes are often applied to div tags to create page layouts without resorting to tables. Figure 8 shows the various attributes that provide this pinpoint control of your page elements. The options are described in Table 7.

Figure 8. Control over the placement of elements on a page frees the Web designer from the restrictions imposed with HTML tables and other old-style formats.

Table 7. CSS Positioning Attributes
Positioning SettingDescription
TypeDetermines whether an element can be positioned absolutely or relatively on a page. The third option, static, does not enable positioning and renders elements as they would be positioned with regular HTML.
WidthSets the width of the element.
HeightSets the height of the element.
VisibilityDetermines whether the element is visible or hidden, or inherits the property from its parent.
Z-IndexSets the apparent depth of a positioned element. Higher values are closer to the top.
OverflowSpecifies how the element is displayed when it's larger than the dimensions of the element. Options include the following: Clip, where the element is partially hidden; None, where the element is displayed and the dimensions are disregarded; and Scroll, which inserts scroll bars to display the overflowing portion of the element.
PlacementSets the styled element's placement and dimensions with the left and top attributes and the width and height attributes, respectively.
ClipSets the visible portion of the element through the top, right, bottom, and left attributes.


8. Extensions options

The specifications for Cascading Style Sheets are rapidly evolving, and Dreamweaver has grouped some cutting-edge features in the Extensions category. As of this writing, most of the Extensions attributes (see Table 8) are supported by Internet Explorer 4.0 and above, whereas only the Cursor extension is supported in Netscape Navigator 6.x. The Extensions settings shown in Figure 9 affect three different areas: page breaks for printing, the user's cursor, and special effects called filters.

Table 8. CSS Extensions Attributes
Extensions SettingDescription
PagebreakInserts a point on a page where a printer sees a page break. Currently supported only by Internet Explorer, versions 5.0 and higher.
CursorDefines the type of cursor that appears when the user moves the cursor over an element. Currently supported by Internet Explorer, versions 4.0 and higher as well as Netscape 6.
FilterFilters enable you to customize the look and transition of an element without having to use graphic or animation files. Currently supported only by Internet Explorer 4.0 and above.

Figure 9. The CSS Extensions category enables some terrific effects, which, unfortunately, are not well supported across the board.

NOTE

One of the problems with the Web's never-ending evolution of page design is evident when you begin to print the page. The Pagebreak attribute alleviates this problem by enabling the designer to designate a style that forces a page break when printing; the break can occur either before or after the element is attached to the style. This attribute is especially important for print media styles.

The Filter attribute offers 16 different special effects that can be applied to an element. Many of these effects, such as Wave and Xray, are quite stunning. Several effects involve transitions, as well. Table 9 details these effects.

Table 9. CSS Filters
FilterSyntaxDescription
AlphaAlpha (Opacity=opacity, FinishOpacity=finishopacity, Style=style, StartX=startX, StartY=startY, FinishX=finishX FinishY=finishY)

opacity is a value from 0 to 100, where 0 is transparent and 100 is fully opaque.

startX, startY, finishX, and finishY are pixel values indicating where the effect should start and end.

style can be 0 (uniform), 1 (linear), 2 (radial), or 3 (rectangular).
Sets the opacity of a specified gradient region. This can have the effect of creating a burst of light in an image.
BlendTrans*blendTrans (Duration=duration) duration is a time value for the length of the transition, in the format of seconds.milliseconds.Causes an image to fade in or out over a specified time.
Blurblur (Add=add, Direction=direction, Strength=strength)

add is any integer other than 0.

direction is any value from 0 to 315 in increments of 45.

strength is any positive integer representing the number of pixels affected.
Emulates motion blur for images.
Chromachroma (Color= color) color must be given in hexadecimal form — for example, #rrggbb.Makes a specific color in an image transparent.
DropShadowDropshadow (Color=color, OffX=offX, OffY=offY, Positive=positive)

color is a hexadecimal triplet.

offX and offY are pixel offsets for the shadow.

positive is a Boolean switch; use 1 to create shadow for nontransparent pixels and 0 to create shadow for transparent pixels.
Creates a drop shadow of the applied element, either image or text, in the specified color.
FlipHFlipHFlips an image or text horizontally.
FlipVFlipVFlips an image or text vertically.
GlowGlow (Color=color, Strength=strength)

positive is a Boolean switch; use 1 to create shadow for nontransparent pixels and 0 to create shadow for transparent pixels.

color is a hexadecimal triplet.

strength is a value from 0 to 100.
Adds radiance to an image in the specified color.
GrayGrayConverts an image in grayscale.
InvertInvertReverses the hue, saturation, and luminance of an image.
LightLightCreates the illusion that an object is illuminated by one or more light sources.
MaskMask (Color=color) color is a hexadecimal triplet.Sets all the transparent pixels to the specified color and converts the nontransparent pixels to the background color.
RevealTransRevealTrans (Duration=duration, Transition=style)

duration is a time value that the transition takes, in the format of seconds.milliseconds.

style is one of 23 different transitions.
Reveals an image using a specified type of transition over a set period of time.
ShadowShadow (Color=color, Direction=direction)

color is a hexadecimal triplet.

direction is any value from 0 to 315 in increments of 45.
Creates a gradient shadow in the specified color and direction for images or text.
WaveWave (Add=add, Freq=freq, LightStrength=lightstrength, Phase=phase, Strength=strength)

add is a Boolean value, where 1 adds the original object to the filtered object and 0 does not.

freq is an integer specifying the number of waves.

lightstrength is a percentage value.

phase specifies the angular offset of the wave, in percentage (for example, 0% or 100% = 360 degrees, 25% = 90 degrees).

strength is an integer value specifying the intensity of the wave effect.
Adds sine wave distortion to the selected image or text.
XrayXrayConverts an image to inverse grayscale for an X-rayed appearance.
 
Others
 
- Adobe Dreamweaver CS5 : Styles and Their Attributes (part 2) - Block options, Box options, Border options
- Adobe Dreamweaver CS5 : Styles and Their Attributes (part 1) - Type options, Background options
- Adobe Photoshop CS5 : Working with Automate Commands - Using the Fit Image Command
- Adobe Photoshop CS5 : Working with Automate Commands - Processing Multiple Image Files
- Adobe Flash Catalyst CS5 : Optimizing artwork
- Adobe Flash Catalyst CS5 : Importing artwork
- Adobe Flash Catalyst CS5 : Preparing a design document
- Adobe After Effects CS5 : Animating Text - Animating imported Photoshop text
- Adobe After Effects CS5 : Animating Text - Animating using parenting
- Adobe After Effects CS5 : Animating Text - Animating with scale keyframes
 
 
REVIEW
 
- First look: Apple Watch

- 10 Amazing Tools You Should Be Using with Dropbox

- Sigma 24mm f/1.4 DG HSM Art

- Canon EF11-24mm f/4L USM

- Creative Sound Blaster Roar 2

- Alienware 17 - Dell's Alienware laptops

- Smartwatch : Wellograph

- Xiaomi Redmi 2
 
VIDEO TUTORIAL
 
- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
 
Popular tags
 
Video Tutorail Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS
 
Top 10
 
- How To Install Android Market & Google Apps On Kindle Fire
- How To Make Ubuntu Look Like Windows 7
- How To Add A New Account in MS Outlook 2013
- Get Android & Mac OS X Style Gadgets For Windows 7 & Windows 8 With XWidget
- How To Activate Microsoft Office 2013
- How To Install Actual Facebook App On Kindle Fire
- How To Create, View And Edit Microsoft Office Files On Kindle Fire
- Download Attractive Business PowerPoint Templates For Free At SlideHunter
- How To Use And Enable Hibernate & Sleep Mode In Windows 8
- How To Get Microsoft Office 2013 Trial Product Key From Microsoft