Layouts with CSS in Dreamweaver
Illustration by John Hersey

Setting up Spry tabbed panels


From:

Layouts with CSS in Dreamweaver

with Joseph Lowery

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now

Video: Setting up Spry tabbed panels

Tabbed panels provide designers with a great way to group content that is extremely intuitive to use. Like the other Spry layout widgets, Tabbed panels can be highly customized. Let me show you what I mean. On the page that we are looking at here, which is tours.htm, you can see a series of tour descriptions one after another, there's four in here, but we could have many more, and while that's all well and good, it does take up a lot of screen real-estate. Perhaps, a better approach would be to group them all in a Tabbed panel and I have the final version of what we're going to be doing during this video to show you here.
please wait ...
Watch the Online Video Course Layouts with CSS in Dreamweaver
3h 33m Intermediate Aug 03, 2011

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.

Topics include:
  • Exploring HTML5 templates in Dreamweaver
  • Understanding document flow
  • Using floats properly
  • Resetting CSS styles
  • Creating a 1-, 2-, or 3-column layout
  • Deciding on a fixed width versus variable width design
  • Coding layouts for HTML5 and CSS 3
  • Incorporating floated elements
  • Applying the faux column technique
  • Using Spry widgets
  • Using Multiscreen Preview
  • Modifying desktop layout for tablets
  • Developing smart phone layouts
Subject:
Web
Software:
Dreamweaver
Author:
Joseph Lowery

Setting up Spry tabbed panels

Tabbed panels provide designers with a great way to group content that is extremely intuitive to use. Like the other Spry layout widgets, Tabbed panels can be highly customized. Let me show you what I mean. On the page that we are looking at here, which is tours.htm, you can see a series of tour descriptions one after another, there's four in here, but we could have many more, and while that's all well and good, it does take up a lot of screen real-estate. Perhaps, a better approach would be to group them all in a Tabbed panel and I have the final version of what we're going to be doing during this video to show you here.

So here we have the Tabbed panels. When we hover over any of the unselected ones, we get a different color and a slightly different color when you are just hovering over the selected one. But as you can see, it's the same content, and it groups it really, really well into one concise space. So let's get started on bringing in our Spry Tabs, and customizing them with this web site. First thing I am going to do is drop out of Live View, and then scroll down, and then I want to place my cursor right in front of these series of tour descriptions that we see here, but I want it to be in the div tour descriptions.

So I am going to go ahead and select the first one, and then press the Left-arrow key once, and that will move my cursor right in front of the initial tour descriptions, but keep us within that div. So now we're ready to bring in the Spry Tabbed panels. So let me open up the Insert panel just a little bit more, let me close up the CSS Styles panel, so that I can see my Insert panel, and then click Spry Tabbed panels.

Dreamweaver will insert the default configuration for the Spry Tabbed panels. It puts in 2 initially. You'll recall that there were 4 descriptions. So I'm going to go ahead and increase the number of Tabs. Go down to my Property Inspector, and select the second tab, so any tabs I bring in, will appear after the second one, and click the Add panel Plus icon twice, there is once, and there is twice.

So the next step is an easy one. Let's go ahead and just change the labels for each of these Tabbed panels, So I am just going to click into the first one, and select over that little eye symbol. The eye symbol is your path for switching to different content under each tab in Dreamweaver, but I just have the label selected here. So I am going to call this Backpack. Let's see what the second one is. Second one is California Calm. So let's make that just Calm, the third, Hotsprings, and then the fourth one Cycle California.

Okay, very straightforward. Now, sometimes when you're having to modify the Spry widget CSS, you'll want to create another CSS file, link to it, and then copy all the Spry widget CSS into that and make your modifications there. That works if you have quite a few modifications. However, in this situation, we only have a couple of changes to make. So I am going to take a more direct approach, and just modify the Spry Tabbed panel CSS directly.

Let's bring open the CSS Styles panel. I will close up Insert, and open up CSS Styles panel, and then switch over to All so you can see the SpryTabbedpanels.css that is located there. However, before we start working with the SpryTabbedpanels.css, it looks like there is some work to be done here with the main.css. One of the initial problems that I see is that the tabs aren't lining up the way that they normally do when you insert the Spry Tabbed panels.

Normally, they were going to be flush left, and then no separation between the tabs and the content. Well, let me go in to Live View, and then when I scroll down to my Tabbed panels, you can see that there's a separation there, that really shouldn't be there. It should be flushed all the way over to the left and down. So when I move from one tabbed panel to the next, you're really not getting that "Tab" effect. So there are obviously some rules set up already in this main.css that's affecting those Tabbed panels.

In the next movie, I'll show you how to uncover those rules, and how to address that problem.

There are currently no FAQs about Layouts with CSS in Dreamweaver.

 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

* Estimated file size

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Layouts with CSS in Dreamweaver.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

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.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your lynda.com subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.