Home  >  Article  >  Web Front-end  >  关于Html中文字位置设置的问题_html/css_WEB-ITnose

关于Html中文字位置设置的问题_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:13:422410browse

");
sTemp.append("   ");
sTemp.append("   "); 
sTemp.append("   ");



我想让这个  单位:元向下对齐,能做到吗??请高手指教


回复讨论(解决方案)

我也不懂

想下对齐 是墨子意思?????垂直对齐????line-heihgt:高度;

我想达到的要求是让 客户基本情况检查 居中显示,  然后 单位:元 用小字体,在同一行的末尾显示,而且最好是下边缘能贴着底线,这样说明白吗??


想下对齐 是墨子意思?????垂直对齐????line-heihgt:高度;

na 那就单独把元包起来,父元素相对定位,元这个元素绝对定位到right:0;bottom:0;有点复杂 好像 嘿嘿,但是浮动也可以;浮动到右边,元这个元素line-height:高度+高度的一半

你说的方法确实有点复杂,我都不太懂,我用了一个很山炮的办法,最后也没打到我想要的效果,已经交给客户看了,不行再说吧!!一涉及到调整这个html样式就头大。谢谢哈!!

na 那就单独把元包起来,父元素相对定位,元这个元素绝对定位到right:0;bottom:0;有点复杂 好像 嘿嘿,但是浮动也可以;浮动到右边,元这个元素line-height:高度+高度的一半

单位:


这样不行么?

                 客户基本情况检查                  单位:元
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn