From the course: EPUB: CSS

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Solution: Styling a list

Solution: Styling a list - InDesign Tutorial

From the course: EPUB: CSS

Start my 1-month free trial

Solution: Styling a list

- So, how did you get on with the task? Well, shall we have a look at how I might have approached this. To begin with the content is all inside of a div called listbox. So we could do that with one simple descendant selector. In fact we go for the id selector just here and then we just change that to font-family:sans-serif. Like so. Then all of that will change anyway because they'll inherit the properties of the parent. Okay, then we wanted to choose a list style for the unordered list. Well that was entirely up to you really how you wanted to do that. But again, I'd make that descendant on their because we've got other lists on the page so I'd use listbox and ul, just there. Let's target the unordered list. And then I'd do list styletype just there and I think I'll choose a circle for this. If you went ahead and used the image then extra points and go to the top of the class just then. Which you could have done because it was included in the file just here. So once we've done that…

Contents