歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 27, 2024, 08:37:42 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  支援  |  使用與操作  |  请教下,英文字体发生凹陷是怎么一回事? « 上篇主題 下篇主題 »
頁: [1]
作者 主題: 请教下,英文字体发生凹陷是怎么一回事?  (閱讀 7616 次)
wangyu1314
新手見習
*
文章: 24


檢視個人資料 個人網站
« 於: 八月 23, 2006, 12:04:59 上午 »

http://www.cnprint.org/life/summary.php?

这儿大家看看,“vbb在apache 2.2.2环境下的rewrite设置规则发生变化” 这个标题的英文更低,中文更高,不好看呀,请教有没有调整办法?
« 最後編輯時間: 八月 23, 2006, 12:17:16 上午 由 wangyu1314 » 已記錄

中文印刷社区,打造 大中华地区最专业的印刷技术社区。
http://www.cnprint.org/bbs/
jeanytu
初級會員
**
文章: 65


天天保持好心情


檢視個人資料
« 回覆文章 #1 於: 八月 23, 2006, 12:25:55 下午 »

YA!這題我會 吐舌頭
不過僅在 1.0 的版本上試過,1.1 應該一樣吧?
如有誤,歡迎指正 微笑

最新發表文章的文章標題是由<h5>這個 tag 所控制

1. 請打開 */styles/summary.css
2. 找到 h5 的 CSS 語法
h5
{
    font-family      : trebuchet ms, tahoma, sans-serif;
    font-size        : 1.1em;
    font-weight      : bold;
    vertical-align   : bottom;
    padding          : 0px;
    text-align       : left;
    text-transform   : capitalize;
    margin-bottom: 5px;
    margin-top: 9px;
}

3. 隱藏或刪除 vertical-align 那一行即可(應會套預設值 baseline)
h5
{
    font-family      : trebuchet ms, tahoma, sans-serif;
    font-size        : 1.1em;
    font-weight      : bold;
    /*vertical-align   : bottom;*/
    padding          : 0px;
    text-align       : left;
    text-transform   : capitalize;
    margin-bottom: 5px;
    margin-top: 9px;
}

4. 另外,還可順便改一下 text-transform,如果你希望標題的英文大小寫,跟原文一樣的話。
h5
{
    font-family      : trebuchet ms, tahoma, sans-serif;
    font-size        : 1.1em;
    font-weight      : bold;
    /*vertical-align   : bottom;*/
    padding          : 0px;
    text-align       : left;
    /*text-transform   : capitalize;*/
    margin-bottom: 5px;
    margin-top: 9px;
}
« 最後編輯時間: 八月 23, 2006, 12:28:57 下午 由 jeanytu » 已記錄

LifeType 1.1.2(直接安裝,非升級)+ AppServ 2.5.7 + Windows XP
Apache:2.2.3
PHP:5.1.6
MySQL:5.0.24a
wangyu1314
新手見習
*
文章: 24


檢視個人資料 個人網站
« 回覆文章 #2 於: 八月 23, 2006, 05:19:22 下午 »

YA!這題我會 吐舌頭
不過僅在 1.0 的版本上試過,1.1 應該一樣吧?
如有誤,歡迎指正 微笑

最新發表文章的文章標題是由<h5>這個 tag 所控制

1. 請打開 */styles/summary.css
2. 找到 h5 的 CSS 語法
h5
{
    font-family      : trebuchet ms, tahoma, sans-serif;
    font-size        : 1.1em;
    font-weight      : bold;
    vertical-align   : bottom;
    padding          : 0px;
    text-align       : left;
    text-transform   : capitalize;
    margin-bottom: 5px;
    margin-top: 9px;
}

3. 隱藏或刪除 vertical-align 那一行即可(應會套預設值 baseline)
h5
{
    font-family      : trebuchet ms, tahoma, sans-serif;
    font-size        : 1.1em;
    font-weight      : bold;
    /*vertical-align   : bottom;*/
    padding          : 0px;
    text-align       : left;
    text-transform   : capitalize;
    margin-bottom: 5px;
    margin-top: 9px;
}

4. 另外,還可順便改一下 text-transform,如果你希望標題的英文大小寫,跟原文一樣的話。
h5
{
    font-family      : trebuchet ms, tahoma, sans-serif;
    font-size        : 1.1em;
    font-weight      : bold;
    /*vertical-align   : bottom;*/
    padding          : 0px;
    text-align       : left;
    /*text-transform   : capitalize;*/
    margin-bottom: 5px;
    margin-top: 9px;
}


猛男真厉害,解决了,谢谢你呀。
已記錄

中文印刷社区,打造 大中华地区最专业的印刷技术社区。
http://www.cnprint.org/bbs/
頁: [1]
LifeType 中文開發論壇  |  支援  |  使用與操作  |  请教下,英文字体发生凹陷是怎么一回事? « 上篇主題 下篇主題 »
    前往: