Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy My Adobe
Date Date
Qty:
Subtotal
Promotions
Estimated Shipping
VAT
Calculated at checkout
Total
Checkout
Dreamweaver Help / 

New features of Cascading Style Sheets in Dreamweaver MX

Adobe Community Help


Products Affected

  • Dreamweaver

Contact support

 
By clicking Submit, you accept the Adobe Terms of Use.
 

 

The Dreamweaver MX interface incorporates additional CSS editing options. Dreamweaver MX Cascading Style Sheets (CSS) are easier to use, and comply to World Wide Web Consortium (W3C) standards. This TechNote introduces some of the new CSS editing options in Dreamweaver MX.

Note: The Dreamweaver MX Design view renders CSS according to the standards set by the W3C. The W3C CSS Test Suite was used for testing and development.

Update: Dreamweaver MX 2004's implementation of CSS is more advanced than Dreamweaver MX. See the Developer Center article Designing with CSS Part 1: Understanding CSS Design Concepts for information specific to that version.

CSS in the Dreamweaver MX interface

CSS styles applied to text are reflected in both the CSS Styles panel and the Property inspector. Additionally, styles can be applied from either panel, or from the Text menu (Text > Style submenu).

Styles with block-level elements, and most inline-level elements applied in Dreamweaver MX are rendered correctly in the design window. The asterisk, used in earlier versions of the Dreamweaver CSS wizard to indicate styles that rendered only in the browser, is no longer needed. CSS constructs will now render in the design environment.

Dreamweaver MX CSS Styles panel

In the default Dreamweaver MX workspace layout, the CSS Styles panel is located on the Design tab, grouped with the HTML Styles and Behaviors panels. As with any MX panel, it may be ungrouped and floated in the workspace, or regrouped with other panels to accommodate workflow. To access the CSS panel when collapsed or ungrouped, choose Window > CSS Styles, or Shift + F11. There are two option modes: Apply and Edit Styles. When in the Edit mode the CSS window is split vertically.

To see the different modes move the mouse over the image below.



  • The Apply Styles mode displays custom styles, linked and embedded, and provides the ability to apply them to your page.
  • The Edit Styles mode displays all styles, linked and embedded, and the properties of each. It also provides easy access for editing styles.

CSS Styles contextual menu

Each mode has the same contextual right-click menu (Windows), Control-click on Macintosh.



Applying a style from the CSS Styles panel. Â

  1. Select the text to which you wish to apply a style.
  2. Click the style displayed in the Apply Styles mode.

Editing a style from the CSS Styles panel.

  • To open the style definition panel and make changes, double-click (Windows) or Control-click (Macintosh) on the style or CSS file you wish to edit.
  • Choose an individual CSS style from the CSS Styles panel. Click the Edit button (shown below) and make changes as desired.

MX Property inspector

The Property inspector now has the ability of formatting text with CSS. CSS attributes are also displayed in the Property inspector. To access the Property inspector choose Window > Properties or Control + F3 (Macintosh). Use the image below to toggle the CSS and HTML options by clicking on the letter A (CSS/HTML toggle button) or the Font list drop-down menu.



  • Change the property's context from HTML <font> tags to CSS.
  • The Property inspectordisplays the CSS style attributes for the text selected.
  • Use the drop-down Style list to assign styles.

Note: Do not edit the style from here. Edits made with the Property inspector will generate HTML <font> tags.

CSS wizard changes

The Box category properties default to auto-complete all values at once. To set the Box attributes differently, deselect the Same for All option and set them individually.



Design Time Style Sheets

A new feature created for the developer's convenience is the Design Time Style Sheets option. For example, this handy feature can be used to see text in the draft stage or to hide a background image.

  • Choose the drop-down arrow in the top-right corner of the Design tab > Design Time Style Sheets.



    Or right-click the style (Windows), Control-click (Macintosh), and choose Design Time Style Sheets.



  • Use the plus (+) and minus (-) buttons to setup the CSS file visibility.



Note: Each external CSS file is either turned on or off in Design Time Style Sheets. Individual styles within a CSS file cannot be hidden or shown at design time only. Internal style sheets cannot utilize the Design Time feature.

W3C Tags

Dreamweaver MX uses the default tags <strong> for bold text and <em> for italic text, instead of the <b> and<i> tags. To use the <b> and <i> tags, choose Edit > Preferences > General.

External Editors

Dreamweaver MX will recognize TopStyle an external CSS editor. To specify TopStyle as the default CSS editor, choose Edit > Preferences > File Types/Editors.

Additional Information

For additional information about Cascading Styles Sheets, please see the following TechNotes and Designer & Developer Center articles:

  • Best Practices with CSS in Dreamweaver CS4
  • Learn to work with CSS
  • World Wide Web Consortium, CSS

coords=6,1,310,214rect152,2,316,114rect4,0,144,113

Keywords: tn_16498

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy

Products

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy | Cookies

Ad Choices

Reviewed by TRUSTe: site privacy statement