0
在向文本添加斜體,粗體或超鏈接元素之後的Wordpress中,文本偏離正常文本的基線。我正在使用Elegantica主題。有沒有解決方案?WordPress的:斜體,粗體和鏈接偏離基線
我的網站:http://www.lfvaa-sample.com/
這個問題的例子可以在主頁上在底部找到與超鏈接文本「瞭解更多」和LinkedFlow頁面上的資源下用斜體文字。
在向文本添加斜體,粗體或超鏈接元素之後的Wordpress中,文本偏離正常文本的基線。我正在使用Elegantica主題。有沒有解決方案?WordPress的:斜體,粗體和鏈接偏離基線
我的網站:http://www.lfvaa-sample.com/
這個問題的例子可以在主頁上在底部找到與超鏈接文本「瞭解更多」和LinkedFlow頁面上的資源下用斜體文字。
你的「瞭解更多」在底部的鏈接,罪魁禍首似乎是
vertical-align: middle;
在你的style.css
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
background: none repeat scroll 0 0 transparent;
border: 0 none;
font-family: Helvetica,Arial,sans-serif;
font-size: 100%;
margin: 0;
outline: 0 none;
padding: 0;
vertical-align: middle;
}
你可以看到,當我把這一規則在螢火蟲關閉,文本對齊正確。在另一頁上用斜體測試,同樣的規則也影響到了文本。
謝謝!對此,我真的非常感激。 – user1911289
如果解決了您的問題,請選擇答案 – WebChemist