+1 vote
in HTML and Site Design by
I want to change the look of the lists presented by a HTML page. I have heard it can be done using css but don't know how. That is the UL and LI parts of the html. How can I do this?

The example html is:

<ul>
  <li>Item one</li>
  <li>Item two</li>
</ul>

I wish to make the li part bold

1 Answer

0 votes
by
You do it like this:

In your css file add:

li {font-weight:bold;}

Here is some further reading for you:

http://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/trackback/
http://www.w3schools.com/css/default.asp

AnswerHighway.com is a community driven question and answer site - Ask questions and answer questions across a large range of categories

The opinions expressed on this page are the views of the author, and not necessarily the views of AnswerHighway.com, its staff, or its partners.

...