I am creating a personal webpage and using a definition list for my basic information. I would like to enlarge the font of the individual list headers. For example;
<dt>Current Place of开发者_StackOverflow中文版 Residence:</dt>
<dd>Ann Arbor, Michigan</dd>
I would like to apply style JUST to the text encapsulated by the <dt></dt>
tags. I am using a linked external CSS style sheet for my page.
How would I go about doing this?
um, maybe I don't see your real problem, but isn't
dt { font-size:130%; /* … */ }
enough?
dt {
font-size: whatever;
}
Definition list items can be styled just like anything else.
精彩评论