Web Standards
  Home arrow Web Standards arrow Page 3 - Web Standards in Dreamweaver, Part 2
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEB STANDARDS

Web Standards in Dreamweaver, Part 2
By: Apress Publishing
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 5
    2004-09-08

    Table of Contents:
  • Web Standards in Dreamweaver, Part 2
  • Creating Classes
  • The Property Inspector
  • Design Files: Premade CSS Stylesheets
  • Creating Valid Markup

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Web Standards in Dreamweaver, Part 2 - The Property Inspector


    (Page 3 of 5 )

    In Dreamweaver MX 2004, the old-style Property inspector that allowed you to add <font> tags to your documents is gone. In its place is the new and improved Property inspector, shown in Figure 2-12, which allows you to add classes to page elements far more quickly than before.

     Web Standards

    Figure 2-12. Property inspector

    The Format drop-down list lets you add the structural (X)HTML markup to elements. If you select an element in Design view and then choose Heading 1 from this list, the element will become a level 1 heading (<h1>). Other structural markup that you can add using the Property inspector includes the following:

    • Click the B button to wrap an element in <strong></strong> tags, making it appear bold in a browser.

    • Click the I button to wrap an element in <em></em> tags, making it appear italicized in the browser.

    • Click the Unordered List button to turn an element into an unordered list.

    • Click the Ordered List button to create an ordered list.

    The Text Indent and Text Outdent buttons add and remove <blockquote> elements. You should not use the Text Indent button to indent text; rather, you should use it to mark up a quote. To indent text, you should use a left-padding setting in a CSS class.

    The font, size, and color drop-down lists should be used with caution. As already mentioned, the use of <font> tags has been removed from the Property inspector, so if you change the font of an element using this menu, Dreamweaver creates a class in the head of your document and then applies it to the element. You would be better served to create your own classes for text that needs to be specially formatted, or create a special element using these menus and copy the resulting CSS out of the head of your document and into your external stylesheet, where it will be available to any pages that have this stylesheet attached.

    The Style drop-down list picks up any classes that you created and gives you an easy way to apply them to page elements. Select an element in Design view and select a class from this drop-down list, and the class will be applied to the element.

    The Page Properties Dialog Box

    The Page Properties dialog box can be launched from the Property inspector as well as by selecting Modify -> Page Properties. This dialog box gives you a quick way to set CSS properties for your document. Once again, these properties will appear in the head of your document, and because you are usually aiming for a unified look and feel throughout your site, you should copy them to your external stylesheet.

    This chapter is from ASP.NET Web Development with Macromedia Dreamweaver MX 2004, by Costas Hadjisotiriou (Apress, 2004, ISBN: 1590593480). Check it out at your favorite bookstore today.

    Buy this book now.

    More Web Standards Articles
    More By Apress Publishing


     

    WEB STANDARDS ARTICLES

    - Completing a Configuration for Chrome and a ...
    - Getting Connected with Firefox and Chrome
    - Configuring Servers and Databases with Chrome
    - Configuring Firefox for Chrome and a Server
    - Designing the Elements of a Web Page
    - Matching div heights with CSS and JavaScript
    - Forms
    - Get Down With Markup
    - If I Said You Had a Beautiful Body...
    - Web Standards in Dreamweaver Part 3
    - Web Standards in Dreamweaver, Part 2
    - Web Forms
    - Making Lists Using XHTML
    - Web Standards in Dreamweaver, Part 1







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek