Web Standards
  Home arrow Web Standards arrow Web Standards in Dreamweaver Part 3
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 3
By: Apress Publishing
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 4
    2004-09-22

    Table of Contents:
  • Web Standards in Dreamweaver Part 3
  • Adding Page Content
  • Validating the Document
  • Revalidate Your Page in Dreamweaver
  • Set Properties of Table Cells
  • CSS for Layout
  • Create the Navigation
  • The Content Area
  • Browser and Device Issues
  • Media Descriptors
  • Working with Dynamic Data
  • Resources and Summary

  • 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 3


    (Page 1 of 12 )

    This last part of the chapter on Web Standards in Dreamweaver shows you how to create a layout with a banner at the top of the page and a navigation menu on the left side. (From the book ASP.NET Web Development with Macromedia Dreamweaver MX 2004, by Costas Hadjisotiriou, 2004, Apress, ISBN: 1590593480.)Dreamweaver

    The first part of this chapter is available via this link, and the second part is here.  

    The Layout

    You are going to create a layout with a banner at the top of the page and a navigation menu on the left side.

    1. To create the banner, select the top row of the table cells and click Merge Cells in the Property inspector.

    NOTE -- The bottom half of the Property inspector changes to reflect the current selection in Design view.

    2. Repeat this process for the next two rows so your table has three rows containing one cell each, and a fourth row containing three cells, as shown in Figure 2-22.

    Dreamweaver 

    Figure 2-22. Creating a table in the Property inspector

    3. Click the left cell of the bottom row. This will be the menu. In the Property inspector, set this cell’s width to 200 pixels, as shown in Figure 2-23.

    Dreamweaver 

    Figure 2-23. Setting table properties in the Property inspector

    4. Click the bottom-right cell. Set this cell to 40 pixels wide. The middle cell is where your page content will go.

    5. Click the top cell and set it to 20 pixels high. Do the same to the third cell down. Finally, set the middle cell to 80 pixels high.

    The Banner

    The middle cell will be the banner across the top of the page. You could simply set a background color for the table cell, but it is a better idea to do this using CSS. If you create additional pages from this template page, you can change the color of the banner on every page with one change in the stylesheet.

    1. To set the background color using CSS you need to create a class. Create a new class and name it .banner. In the Background category of the CSS Style Definition dialog box, select a color for the banner. Then go to the Border category and give the banner a top and bottom border, as shown in Figure 2-24.

     Dreamweaver

    Figure 2-24. The Border category

    2. Click OK. Next, using the Property inspector’s Style drop-down list, apply the .banner class to the banner table cell.

    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 5 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek