New Feature: Playlist Center! Pick a topic and let our playlists guide the way—like a learning mixtape.

Start learning with our library of video tutorials taught by experts. Get started

Preparing CMS Web Graphics and Layouts Using Open Source Tools
Illustration by

Establishing a layout


From:

Preparing CMS Web Graphics and Layouts Using Open Source Tools

with Jen Kramer

Video: Establishing a layout

Just to remind you, this is the webpage that we are now going to build in KompoZer. Now that we have sliced up the big graphic into smaller graphics and we've taken a look at KompoZer and we've got it all set and ready to go. I'd like to draw a picture of what exactly I'm going to build in terms of the way the divs are going to nest inside of this webpage. Some people call it the box model, and I have sketched that out for us here so you can refer to this as we go along.

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
Preparing CMS Web Graphics and Layouts Using Open Source Tools
1h 40m Intermediate Dec 16, 2009

Viewers: in countries Watching now:

In Preparing CMS Web Graphics and Layouts Using Open-Source Tools, Jen Kramer shows how developers and graphic designers can collaborate to create a great site design that integrates with a content management system (CMS) like WordPress, Drupal, or Joomla!, all using open-source software. This workflow is based on two existing open-source design tools, KompoZer and GIMP. Jen shows how to modify web graphics and create slices with GIMP, and then place these in an HTML page integrated with CSS in KompoZer. Along the way, she discusses web design best practices and special challenges that might arise when designing for CMS software. Exercise files are included with this course.

Topics include:
  • Using static HTML versus a CMS in web design
  • Knowing the dos and dont's of CMS design
  • Exploring GIMP and KompoZer
  • Saving slices for the web with GIMP
  • Inserting graphics in an HTML page
  • Styling web pages with CSS
  • Changing the default styling assigned by a CMS
Subjects:
Web CMS Web Graphics
Software:
GIMP KompoZer
Author:
Jen Kramer

Establishing a layout

Just to remind you, this is the webpage that we are now going to build in KompoZer. Now that we have sliced up the big graphic into smaller graphics and we've taken a look at KompoZer and we've got it all set and ready to go. I'd like to draw a picture of what exactly I'm going to build in terms of the way the divs are going to nest inside of this webpage. Some people call it the box model, and I have sketched that out for us here so you can refer to this as we go along.

So we're going to have a big outside div. It has an ID of wrapper. Remember that pound sign in front of any of these words indicates that it's an ID. And these are going to be ID names that we'll assign to the div tags that will hold this content. Remember that a div tag is a block level tag and that it's a generic box tag into which you can put just about anything. That's opposed to the span tag, which is an inline tag. It can also hold anything, but it's designed for inline elements whereas a div is designed for block level elements.

If you don't remember any of that, be sure you go back and watch the HTML titles at lynda.com to come back up to speed on those aspects of HTML. So we have the wrapper div on the outside. Inside we are going to have four divs: header, nav, contentwrapper and footer. Then inside of contentwrapper, we are going to have a div called left and a div called content. So that's the way we are going to set this site up, and now we are ready to get that started in KompoZer.

If you don't already have KompoZer open, go ahead and open it up. The way I am going to start is typing out a line of dummy text for each one of those divs. So. This is the wrapper. This is the header. This is the nav. This is the content wrapper. This is left. This is content, and This is the footer.

Now what I am going to do is I am going to highlight all of this text and I am going to set these all to paragraphs, just like that. All right! Now what I am going to do is I am going to highlight the line for wrapper, and I am going to set this to a div by going down Generic container (div) tag here in this dropdown. Then I am going to highlight all of this text, which ultimately I want to live inside of the wrapper. So I'm going to Edit > Cut and then Edit > Paste.

Now what I am going to do is highlight header, nav, and contentwrapper, and so forth and I am going to set all of these to be divs, like so. If you're following along over here on the side, inside of our outside div, which we'll have to remember for now that it's called wrapper. Notice that there's no IDs assigned yet. This is the first step to getting this process done. And then we're going to have to go and assign these all IDs, so we can tell them apart.

So this first div here is wrapper, inside of that will be header, nav and here's contentwrapper. This is left and content. So what I am going to do now is I am going to take left and content and put those into the contentwrapper. So I am going to highlight these, Edit > Cut, put it into the content wrapper and Edit > Paste. Now I am going to highlight these words again, and I am going to go to the div tag.

So now, once again if we go over here, we have the header, the nav and the contentwrapper, inside of which is left and content. This div is no longer needed. If I come down to the bottom screen here in the breadcrumb and I right-click or Command+click on it, I can just remove the tag right here. Finally, we have our tag called footer at the bottom. So once again, wrapper, header, nav, contentwrapper, left, content and footer.

Now that we have all of our divs in place, let's go ahead and save this. So I am going to click the Save icon at the top of the page. It's going to ask me for the page title. This is the HTML title for our page. I am going to call it Hansel and Petal. It will ask me where I want to save it. I am going to save it right here in Chapter 3, so I am going to call this file index.html, and we are going to save it. All right, now that we have our general structural outline for our webpage, we are in good shape and we are getting ready to assign IDs to all of these divs.

Then we'll drop in graphics and we'll be looking very good by that point.

There are currently no FAQs about Preparing CMS Web Graphics and Layouts Using Open Source Tools.

 
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.
Upgrade now


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 Upgrade now

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 Preparing CMS Web Graphics and Layouts Using Open Source Tools.

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?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

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 preferencesfrom 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.

Are you sure you want to delete this note?

No

Notes cannot be added for locked videos.

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.