文本在div问题中对齐 [英] Text align within a div problem
本文介绍了文本在div问题中对齐的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我在div中对齐文本时遇到问题。我希望文本在div的底部对齐。他的代码出了什么问题:
展开 | 选择 | Wrap | 行号
解决方案
大家好,
我在div中对齐文本时遇到问题。我希望文本在div的底部对齐。他的代码出了什么问题:
展开 | 选择 | Wrap | 行号
我不在乎是否使用行高度。我必须在div的底部对齐文本。我必须使用div,而不是表格。
10x
尝试给它填充。
展开 | 选择 | Wrap | 行号跨度>
Hi all,
I have a problem with aligning text within a div. I want the text to be aligned at the bottom of the div. What is wrong with his code:
Expand|Select|Wrap|Line Numbers解决方案Hi all,
I have a problem with aligning text within a div. I want the text to be aligned at the bottom of the div. What is wrong with his code:
Expand|Select|Wrap|Line Numbers
I dont care if I use line-heigth or not. I have to align the text at the bottom of the div. I MUST use div, not a table.
10x
Try giving it padding.
Expand|Select|Wrap|Line Numbers
这篇关于文本在div问题中对齐的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文登录 关闭
扫码关注1秒登录发送“验证码”获取 | 15天全站免登陆