Join James Williamson for an in-depth discussion in this video Styling block-level links, part of CSS: Styling Navigation.
- View Offline
- Exercise Files
- Code Practice
While the addition of block-level links has given us more flexibility when structuring…our pages, it does present us with certain styling challenges.…In this exercise I want to dig a little deeper into styling these block-level linked regions.…And we talked about these earlier way back in Chapter 1, I am going to start talking…about some of those styling issues that you need to consider if you want to use block…level link regions in your own files.…So I have a block-level.htm file open in the 06_06 folder, and the first thing I am going…to do is just preview this in a browser so you can see what's was going on just sort…of a way of refreshing your memory.…
So we have this product detail region, and there is a link tag wrapped around the h2,…the image, the paragraph down here, and you see when I hover over one item all of the…other items get its styling, and that's the biggest problem that you're going to run into…with these block-level links.…Everything inside of it shares the link state, so if I click, for example, everything gets its active state.…
- Organizing menus with lists
- Creating block-level links
- Styling links, link states, and image links
- Defining link dimensions
- Controlling link spacing in a menu
- Creating rollovers
- Clearing floats
- Indicating current pages
- Controlling cursor states
- Building dropdown menus
- Creating CSS-only buttons
Skill Level Beginner
1. Structuring Navigation
2. Link Styling Basics
3. Creating a Vertical Menu
4. Creating Horizontal Menus
5. Dropdown Menus
6. Enhancing Navigation with CSS
Additional resources6m 29s
- 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.