简单地在div的两个不同侧面上对齐文本 [英] simple aligning of text on two different sides of a div

查看:55
本文介绍了简单地在div的两个不同侧面上对齐文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


i知道我真的很擅长CSS ..我只是无法得到东西,我想要的方式......所以最后我必须妥协: (


但我问你这个问题..因为我不能在此妥协..

我想调整文本到极端的一边div

页面的来源是::

hi guys,

i know i am really bad at CSS .. i just cant ever get things, the way i want to .. so in the end i have to compromise :(

but i am asking you this question.. cause i cannot compromise in this..
Well i want to adjust texts in to extreme sides of a div
the source of the page is ::

展开 | 选择 | Wrap | 行号

推荐答案

问题是IE,一如既往。虽然IE可能显示你想要的东西,但它实际上显示了一个bug。 ts不要扩展以包含浮动元素。 Firefox正常运行。


只需将''overflow:auto''添加到#info并为其提供更高的高度来容纳内容。另外,不要忘记你的src周围的图像。
The problem is IE, as always. While IE may be showing what you want, it is actually displaying a bug. Elements are NOT to expand to contain floated elements. Firefox is performing correctly.

Just add ''overflow:auto'' to #info and give it a little more height to accomodate the content. Also, don''t forget quotes around your src for the image.



问题是IE,一如既往。虽然IE可能正在显示您想要的内容,但它实际上显示了一个错误。元素不能扩展以包含浮动元素。 Firefox正常运行。


只需将''overflow:auto''添加到#info并为其提供更高的高度来容纳内容。此外,不要忘记你的src周围的图像报价。
The problem is IE, as always. While IE may be showing what you want, it is actually displaying a bug. Elements are NOT to expand to contain floated elements. Firefox is performing correctly.

Just add ''overflow:auto'' to #info and give it a little more height to accomodate the content. Also, don''t forget quotes around your src for the image.



你好,


感谢您的回复..现在我的信息看起来像


hello,

thanks for the reply.. now my info looks like


展开 | 选择 | Wrap | 行号


您是否正在清除缓存?它对我有用。
Are you clearing your cache? It works for me.


这篇关于简单地在div的两个不同侧面上对齐文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆