Web Design Training courses, videos & tutorials at DigitalFamily.com
Web design & Internet trends
books, videos, training & consulting
  • Home
  • Store
    • Web Design Books
    • Dreamweaver Videos
    • Expression Web Videos
    • Products
    • Shopping Cart
    • Order Status
  • Consulting Services
  • Web Tutorials
    • Web Design 101
    • Mobile and Responsive Web Design
    • Social Media
    • Online Reputation
    • Dreamweaver
    • Expression Web
    • Cascading Style Sheets
    • WordPress
  • Dreamweaver
    • CS6 Tutorials
    • CS5 Tutorials
    • CS4 Tutorials
    • CS3 Tutorials
  • FAQ
    • Dreamweaver
    • CSS
    • Graphics
    • WordPress
    • Ask the Author
  • About Us
    • About DigitalFamily.com
    • About Janine Warner
  • Contact
Search the site...
Home» Tutorials » CSS » Creating Responsive Designs with Dreamweaver CS6 Fluid Grid Layout

Creating Responsive Designs with Dreamweaver CS6 Fluid Grid Layout

Posted by Janine Warner - September 14, 2012 - CSS, Dreamweaver, Dreamweaver CS6, Mobile Web Design, Responsive, Tutorials, Web Design
0

Antonio Gaudi Website Created in Dreamweaver CS6Creating responsive designs is the best new thing in web design, and Adobe’s new Fluid Grid Layout system is a great place to start in Dreamweaver CS6.

The new Fluid Grid Layout option is available from the File menu, and it’s a new category in the New Document Window.

As you develop your designs, keep in mind that the key to creating a responsive web design is to position all of the divs and other elements in your HTML document in a way that will work in all three layouts. For example, in the mobile version, create a single-column layout, in the tablet, create a two-column layout, and in the desktop version, expand the design to three or more more columns.

Remember, in responsive design, the divs and other elements have to be positioned on the page in such a way that using only CSS, you can rearrange them to display best on each device category (phone, tablet, desktop). This approach requires some planning, and usually a bit of trial and error. However, your reward will be that you will get a consistent, efficient web page look & feel, that works on multiple devices.

Get Started: Follow these steps to create a simple, adaptable, web design using the Fluid Grid Layout features.

Step 1: Create a New Fluid Grid Layout

Choose File > New and the in the New Document Window, select the Fluid Grid Layout category. In this dialog, you can change the number of columns that make up the grid for each of the three target sizes, you can specify the percent of the column width that is used in each of the margins between columns, and you can specify the total percentage of the browser window that will be filled by the grid layout.

You can also use the DocType drop-down to select the version of HTML you want to use (usually HTML5, although there may be reasons you would use another standard).

Dreamweaver Fluid Grid Layout Feature

Step 2: Save the “Boilerplate” and Other Style Sheets

When you click Create, Dreamweaver prompts you to first save a CSS file that includes the initial styles for the page. Simultaneously, Dreamweaver saves a boilerplate CSS style sheet, and a Javascript file, which are listed in the top of the workspace. Note that the HTML file that Dreamweaver generates is not saved in this initial step.

 

Save Boilerplate and other style sheets

Step 3: Switch Between Mobile Size, Tablet Size, and Desktop Size Designs

At the bottom of the workspace, you can switch from one layout to the other, using three tiny icons which represent the mobile size, tablet size, and desktop size designs.  When you change from one layout to another, the corresponding CSS is applied to the document displayed in Dreamweaver’s workspace. Remember, even though you’re only working on one HTML file, because Dreamweaver creates three sets of styles, you are able to rearrange and re-size the elements to create three different layouts.

Switching between mobile, tablet, and desktop in Dreamweaver layouts

 

Step 4: Change Window Sizes to Target Specific Devices

You can change the display size of any of the target devices by clicking on the Window Size arrow at the bottom of the workspace, and selecting a preset screen size. This comes in handy, if you are going to be targeting specific devices (a new iPhone5 has totally different screen size than an Android, for example). Window sizes can be edited in the Window Sizes category of the Preferences dialog – something that really comes in handy, because of the constant, ongoing evolution of mobile devices.

 

change the display size of any of the target devices

Step 5: Add and Insert Text and Images

You can add text and insert images into your pages as you would any other web page. However, if you really want to take advantage of the automated features in these fluid grid layouts, you should only add div tags by using the Insert Fluid Grid Layout Div tag.

The Insert Fluid Grid Layout Div tag option is available from the Layout Insert Panel. Also note, you cannot nest Layout Div tags in your Fluid Grid designs, and that all of your layout div tags need to be contained within the main div tag on the page, which is formatted with the a class style gridContainer. (Photos by iStockphoto.com)

Insert images into a responsive design

Step 6: Add Fluid Grid Layout divs

As you add Fluid Grid Layout divs, you can resize them by clicking and dragging on the corners of each div. As you resize them, the divs will automatically snap to the closest grid line. Warning: If you view the corresponding styles that are automatically created in code view, you will see that the sizes are specified to the fourth decimal point, like this: width: 48.2758%. Resist the urge to round off these numbers. If you change these numbers in code view, Dreamweaver will no longer automatically adjust them for you.

Tip: When you resize a layout div by dragging from right to left, you make the div physically smaller. When you drag from left to right, you add margin space to the left side.

 

Add Fluid Grid Layout divs

Step 7: Create Multi-Column Layouts

To create multiple columns, click on the small arrow to the right of any resized div. After a div is moved up, a new arrow appears in the bottom left that you can use to move it back down.

create multiple columns with fluid grid layouts

More tutorials about Responsive / Adaptive Web Design

  • Get inspired with these great examples of Responsive design.
  • Designing for multiple screens: How to create responsive / adaptive web designs
  • What’s the difference between adaptive and responsive web design?

Step-by-Step Video Training with project files so you can follow along

Order Janine’s Dreamweaver CS6 training video and get the Antonio Gaudi website so you can follow along as you learn how to create your own responsive websites with Dreamweaver’s fluid grid layout features.

Antonio Gaudi Website Created in Dreamweaver CS6

css, dwcs6, mobile web design

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Share with your friends

Dreamweaver Tutorials

  • Creating websites with Dreamweaver HTML templates (.dwt)
  • What’s the difference between a website & blog?
  • 6 Reasons to Upgrade to Dreamweaver CS6
  • Tracking web traffic: Google Analytics vs other traffic counters
  • Review: What’s the Best Way to Add eCommerce Or a Shopping Cart to a Website?

Popular books & videos

  • Dreamweaver CS6 Video

    DW-Video-250
    Designing for Multiple Screens with Fluid Grid Layouts
    Discover how to create web designs that look great on large and small screens. From smartphones to tablets to desktops, the new Fluid Grid Layout in version CS6 makes it easier than ever to set up media queries and design websites with HTML5 and CSS3. More Info »
    $49.99$39.99

    View Cart / Checkout
  • Dreamweaver CS5 Part 3: The New Features

    Dreamweaver-CS5-whats-new
    Training Video DVD
    Upgrading to CS5? Get just the training you need when you upgrade. This video covers the hottest new additions to Dreamweaver's toolset with a focus on how to put these great new features to work right away. More Info »
    $24.99

    View Cart / Checkout
  • Dreamweaver CS5 Crash Course

    Dreamweaver CS5 Crash Course Part 1
    Dreamweaver video DVD
    Dip into web design and learn Dreamweaver fast with this engaging video. More Info »
    $24.99

    View Cart / Checkout
  • Dreamweaver CS4 Essentials

    Dreamweaver CS4 Training Video
    Training Video DVD
    Janine's delightful sense of humor (and The Chocolate Game website) make learning web design with Dreamweaver CS4 more fun in this comprehensive 5-hour course. More Info »
    $39.99

    View Cart / Checkout
  • Dreamweaver CS3 Essentials

    Dreamweaver CS3 Training Video
    By Janine Warner Created with TotalTraining Janine’s patience and delightful sense of humor make learning web design with Dreamweaver CS3 fun. Learn everything you need to build websites with Dreamweaver in this comprehensive 8-hour course. You’ll get up to speed fast with the basics of setting up a site and creating your first web pages, More Info »
    $24.99

    View Cart / Checkout
© 2001 - 2013 All rights reserved. DigitalFamiliy.com was created by Janine Warner | Terms & Conditions of Use | Privacy Policy
  • Home
  • Store
  • Consulting Services
  • Web Tutorials
  • Dreamweaver
  • FAQ
  • About Us
  • Contact