开发者

Applying style to definition lists with html/css

开发者 https://www.devze.com 2023-03-27 18:04 出处:网络
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;

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消