Jakob991 Jakob991 - 1 year ago 69
HTML Question

CSS defining a class

I tried (HTML Page)

<div class="cities">
London is the capital city of England. It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants.

CSS Page

p.cities {


Could I get help defining a class in CSS? I have seem to run into a mental wall. I cant wrap my head around this concept.

Answer Source

You have p.cities. You want div.cities

Your element is a <div>, not a <p>

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download