Viewers: in countries Watching now:
This course shows how to use the combined power of Dreamweaver and CSS to create compelling, easy-to-maintain web page layouts. After demonstrating how to maximize Dreamweaver's built-in layouts (including HTML5 layouts), author Joseph Lowery reviews essential layout concepts such as the box model, document flow, and the proper use of floats. Next, the course covers how to develop an array of basic 2- and 3-column layouts from the ground up, and then how to customize them with advanced features like CSS3 rounded corners, faux columns, and Spry widgets. The course concludes with a demonstration of techniques for converting a desktop layout to one better suited for tablets and smart phones.
In addition to the 16 other pre-built layouts that are based on the current version of HTML and XHTML, Dreamweaver now offers to HTML5 based layouts. HTML5 is a major update of the web building language. Although it's still in development so many modern browsers have included HTML5 support, but it's quickly becoming a Firewall alternative for designers. Let's take a tour of those layouts. So I'll go to File>New, make sure a Blank Page is chosen and then HTML.
At the very bottom of the Layout column you'll see an HTML5 2 column fixed, right sidebar, header and footer, and also a 3 column fixed header and footer. Now notice that when I select either of these the Doc Type goes to HTML5. You can if you want, select any of the other layout and switch it to an HTML5 Doc Type but it won't have the HTML5 coding, for that we'll have to look at these HTML5 specific layouts.
All right, with the 2 column fixed, right sidebar header and footer chosen, let's go ahead and click Create, and I'm going to go ahead and switch over to Live View for a moment, so you can see that the links, all work, and it works very nicely. Now there is not any real obvious differences when you're just looking at the page between HTML4 and HTML5. However, if we start to look a little bit deeper at the code like the nav button over here, and take a look at the Tag Selector you'll notice that it's not a div with a class of nav, or ID of nav, it's an actual nav tag.
And the same thing is true when we look at the header and some of the other content areas of the page include sections and articles. You'll note that there is a combination of HTML structural tags, like article and section with the currently standard div tag. This is not only "legal" but actively encouraged by the W3C who are developing the HTML5 specification.
Well this page previews fine within Dreamweaver's WebKit-driven rendering engine and the most current browsers. Keep in mind that older browsers may have problems. To lessen those issues the HTML5 templates use a CSS Rule that sets all the structural tags to display block, let me show you have that note. So I'll go over to code and because our CSS rules are embedded, they're listed here on the page and right before the end of the style section you'll see a CSS Rule that says HTML5 support in the comments, and in that Rule - header, section, footer, aside, nav, article, and figure, which are all HTML5 tags are set to display: block.
So straight out of the box, this layout is ready to become your first HTML5 page once you've customized it with your own images, content, and CSS styles.
There are currently no FAQs about Layouts with CSS in Dreamweaver.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.