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