为什么这个单词在网页中显示为大写?

时间:2011-12-12 14:53:07

标签: html css uppercase

查看此网页:http://www.premierleague.com/en-gb/clubs/profile.overview.html/tottenham

为什么单词“Lilywhites”在网页中显示为大写?

2 个答案:

答案 0 :(得分:8)

我相信它只是字体:

font-family: 'PremierLeagueRegular';

.clubheader ul.stats p 
{
    font-family: 'PremierLeagueRegular','Lucida Grande','Lucida Sans Unicode';
    font-size: 18px;
    color: white;
    padding: 0;
    margin: 4px 0;
}

如果要从'PrimierLeagueRegular'属性中删除font-family字体,您会发现它不会变成大写字体。

答案 1 :(得分:0)

in

<link rel="stylesheet" href="/etc/designs/premierleague/clubs.css" type="text/css">

查找

.clubheader ul.stats { 
    display:block; float:right;
    font-family: 'PremierLeagueRegular','Lucida Grande','Lucida Sans Unicode'; 
    color:#fff;font-size:18px;font-weight:normal;line-height:18px; 
    width:165px;vertical-align:top;position:absolute;top:0;right:0;
    }

PremierLeagueRegular字体是

的原因