Join Eric Meyer for an in-depth discussion in this video Clearing essentials, part of CSS Web Site Design.
- View Offline
- Exercise Files
In this movie we're going to find out how to avoid problems like you see right here on the screen.…I floated to the columns to the left actually in this case and given them explicit widths,…which is a bit of a rehearsal from before, but it helps to illustrate what's going on. We've got this green stripe problem. That's…the footer actually. The footers all away at the top of the document,…up their equal with the two floated elements, the two floated images,…with the two floated columns and you can see that content right there to the right,…that's not good. You might think ok, well maybe I'll float this sidebar…to the right and that will push it down, but actually not so much, that'll just let the content of the footer flow between the two floated divs,…and it doesn't really move down at all. What we need is, we need a way to push the footer down so it's below …these floats and fortunately there's a way to do that. It's called clear. Clear to the rescue.…
So what I'm going to do is add a little style here, footer and I'm going to say clear left.…
Skill Level Intermediate
Layouts with CSS in Dreamweaverwith Joseph Lowery3h 33m Intermediate
Site Navigation with CSS in Dreamweaverwith Joseph Lowery3h 24m Intermediate
2. CSS and XHTML
5. Adding Colors and Backgrounds
6. Setting Typography
7. Using Margins and Borders to Create White Space and Separation
8. Creating Tables
9. Styling for Print
10. Bringing It All Together
- Mark as unwatched
- Mark all as unwatched
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.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.