Select File > Fluid Grid (legacy).
- Dreamweaver User Guide
- Introduction
- Dreamweaver and Creative Cloud
- Dreamweaver workspaces and views
- Set up sites
- About Dreamweaver sites
- Set up a local version of your site
- Connect to a publishing server
- Set up a testing server
- Import and export Dreamweaver site settings
- Bring existing websites from a remote server to your local site root
- Accessibility features in Dreamweaver
- Advanced settings
- Set site preferences for transferring files
- Specify proxy server settings in Dreamweaver
- Synchronize Dreamweaver settings with Creative Cloud
- Using Git in Dreamweaver
- Manage files
- Create and open files
- Manage files and folders
- Getting and putting files to and from your server
- Check in and check out files
- Synchronize files
- Compare files for differences
- Cloak files and folders in your Dreamweaver site
- Enable Design Notes for Dreamweaver sites
- Preventing potential Gatekeeper exploit
- Layout and design
- CSS
- Understand Cascading Style Sheets
- Laying out pages using CSS Designer
- Using CSS preprocessors in Dreamweaver
- How to set CSS Style preferences in Dreamweaver
- Move CSS rules in Dreamweaver
- Convert inline CSS to a CSS rule in Dreamweaver
- Work with div tags
- Apply gradients to background
- Create and edit CSS3 transition effects in Dreamweaver
- Format code
- Page content and assets
- Set page properties
- Set CSS heading properties and CSS link properties
- Work with text
- Find and replace text, tags, and attributes
- DOM panel
- Edit in Live View
- Encoding documents in Dreamweaver
- Select and view elements in the Document window
- Set text properties in the Property inspector
- Spell check a web page
- Using horizontal rules in Dreamweaver
- Add and modify font combinations in Dreamweaver
- Work with assets
- Insert and update dates in Dreamweaver
- Create and manage favorite assets in Dreamweaver
- Insert and edit images in Dreamweaver
- Add media objects
- Adding videos in Dreamweaver
- Insert HTML5 video
- Insert SWF files
- Add audio effects
- Insert HTML5 audio in Dreamweaver
- Work with library items
- Using Arabic and Hebrew text in Dreamweaver
- Linking and navigation
- jQuery widgets and effects
- Coding websites
- About coding in Dreamweaver
- Coding environment in Dreamweaver
- Set coding preferences
- Customize code coloring
- Write and edit code
- Code hinting and code completion
- Collapse and expand code
- Reuse code with snippets
- Lint code
- Optimize code
- Edit code in Design view
- Work with head content for pages
- Insert server-side includes in Dreamweaver
- Using tag libraries in Dreamweaver
- Importing custom tags into Dreamweaver
- Use JavaScript behaviors (general instructions)
- Apply built-in JavaScript behaviors
- About XML and XSLT
- Perform server-side XSL transformations in Dreamweaver
- Performing client-side XSL transformations in Dreamweaver
- Add character entities for XSLT in Dreamweaver
- Format code
- Cross-product workflows
- Installing and using extensions to Dreamweaver
- In-App updates in Dreamweaver
- Insert Microsoft Office documents in Dreamweaver (Windows only)
- Working with Fireworks and Dreamweaver
- Edit content in Dreamweaver sites using Contribute
- Dreamweaver-Business Catalyst integration
- Create personalized email campaigns
- Templates
- About Dreamweaver templates
- Recognizing templates and template-based documents
- Create a Dreamweaver template
- Create editable regions in templates
- Create repeating regions and tables in Dreamweaver
- Use optional regions in templates
- Define editable tag attributes in Dreamweaver
- How to create nested templates in Dreamweaver
- Edit, update, and delete templates
- Export and import xml content in Dreamweaver
- Apply or remove a template from an existing document
- Edit content in Dreamweaver templates
- Syntax rules for template tags in Dreamweaver
- Set highlighting preferences for template regions
- Benefits of using templates in Dreamweaver
- Mobile and multiscreen
- Dynamic sites, pages and web forms
- Understand web applications
- Set up your computer for application development
- Troubleshoot database connections
- Removing connection scripts in Dreamweaver
- Design dynamic pages
- Dynamic content sources overview
- Define sources of dynamic content
- Add dynamic content to pages
- Changing dynamic content in Dreamweaver
- Display database records
- Provide and troubleshoot live data in Dreamweaver
- Add custom server behaviors in Dreamweaver
- Building forms using Dreamweaver
- Use forms to collect information from users
- Create and enable ColdFusion forms in Dreamweaver
- Create web forms
- Enhanced HTML5 support for form elements
- Develop a form using Dreamweaver
- Building applications visually
- Build master and detail pages in Dreamweaver
- Build search and results pages
- Build a record insert page
- Build an update record page in Dreamweaver
- Building record delete pages in Dreamweaver
- Use ASP commands to modify database in Dreamweaver
- Build a registration page
- Build a login page
- Build a page that only authorized users can access
- Securing folders in Coldfusion using Dreamweaver
- Using ColdFusion components in Dreamweaver
- Test, preview, and publish websites
- Troubleshooting
Looking to create responsive websites for multiple screens? Learn how to use fluid grids in Dreamweaver to design websites for mobile devices and desktops.
The layout of a website has to respond and adapt to the dimensions of the device on which it is displayed (responsive design). A fluid grid layout provides a visual way to create different layouts corresponding to devices on which the website is displayed.
For example, your website is going to be viewed on desktops, tablets, and mobile phones. You can use fluid grid layouts to specify layouts for each of these devices. Depending on whether the website is displayed on a desktop, tablet, or mobile phone, the corresponding layout is used to display the website.
More info: Adaptive Layout versus Responsive Layout
Inspect mode is not available for Fluid Grid Layout documents.
Create a fluid grid layout
You can edit existing fluid grid layouts in Dreamweaver 2017. However, you cannot create fluid grid layouts.
Instead, use bootstrap to create responsive layouts in Dreamweaver 2017. For more information on Bootstrap, see Work with Bootstrap files.
-
-
The default value for the number of columns in the grid is displayed in the center of the media type. To customize the number of columns for a device, edit the value as required.
-
To set the width of a page as compared to the screen size, set the value in percentage.
-
You can additionally change the gutter width. The gutter is the space between two columns.
-
Specify the CSS options for the page.
When you click Create, you are asked to specify a CSS file. You can do one of the following:
- Create a new CSS file.
- Open an existing CSS file.
- Specify the CSS file being opened as a Fluid Grid CSS file.
The Fluid Grid for mobile phones is displayed by default. Also, the Insert panel for Fluid Grid is displayed. Use the options in the Insert panel to create your layout.
To switch to designing the layout for other devices, click the corresponding icon in the options below the Design view.
-
Save the file. When you save the HTML file, you are prompted to save the dependent files such as boilerplate.css and respond.min.js to a location on your computer. Specify a location, and click Copy.
The boilerplate.css is based on the HTML5 boilerplate. It is a set of CSS styles that ensures consistency in the way your web page is rendered across multiple devices. respond.min.js is a JavaScript library that helps provide support for media queries in older versions of browser.
Edit fluid grid documents
You can edit fluid grid documents directly in Live View to:
- Associate HTML classes and IDs to elements. For more information, see Element Display.
- Edit image attributes and text. For more information, see Quick Property Inspector and Edit text in Live View.
- Insert new elements. For more informaiton, see Insert fluid grid elements.
You can also visualize the HTML DOM structure of a fluid grid document using Element Quick View.
Insert fluid grid elements
The Insert panel (Window > Insert) lists the elements that you can use in a fluid grid layout. While inserting the elements, you can choose to insert them as fluid elements.
-
In the Insert panel, click the element that you want to insert.
-
In the dialog box that appears, click Before, After, or Nest to position the element with respect to the reference element highlighted in the document.
-
Select a class, or enter a value for the ID. The Class menu displays classes from the CSS file that you specified when creating the page.
-
Select the Insert As Fluid Element check box.
-
When you select an inserted element, the options to hide, duplicate, or delete the Div are displayed. For Divs layered on top of each other, the option to swap Divs is displayed.
Option
Description
Swap Div
Swaps the currently selected element with the element above or below.
Hide
Hides the element.
To unhide an element, do one of the following:
To unhide ID selectors, change the display property in the CSS file to block. (display:block)
To unhide class selectors, remove the applied class (hide_<MediaType>) in the source code.
Move up a row
Moves the element up by a row
Duplicate
Duplicates the currently selected element. CSS linked to element is also duplicated.
Delete
For ID selectors, deletes both the HTML as well as CSS. To delete HTML only, press Delete.
For class selectors, only HTML is deleted.
Align
For class selectors, the Align option acts as a zero margin button.
For ID selectors, the align button aligns the element to the grid.Märkus.Elements on a page can be traversed cyclically using the up and down arrow keys. Select the element boundary and then press the arrow key.
Nesting elements
To nest fluid elements within other fluid elements, ensure that the focus is inside the parent element. Then, insert the required child element.
Nested Duplication is also supported. Nested Duplication duplicates the HTML (of the selected element) and generates the relevant Fluid CSS. Absolute elements contained within the selected element are positioned appropriately. Nested elements can also be duplicated using the duplicate button.
When you delete a parent element, the CSS corresponding to the element, its children, and associated HTML are deleted. Nested elements can also be deleted together using the Delete button (Keyboard Shortcut: Ctrl+Delete).