开发者

How can I put text into a defined box?

开发者 https://www.devze.com 2023-02-06 15:35 出处:网络
jsFiddle In this jsFiddle I\'ve got two images and then some text. I want it to appear like this: note: the images and text should be sitting on the same horizontal axis, the text is not suppo开发

jsFiddle

In this jsFiddle I've got two images and then some text. I want it to appear like this:

How can I put text into a defined box?

note: the images and text should be sitting on the same horizontal axis, the text is not suppo开发者_开发技巧sed to be higher

So what I'm trying to do is make the text appear over multi-lines within a box with a width of 150. How can I do this?


Is this what you're trying to do?

As you can see I've only changed your CSS a bit by adding a display:inline-block to your text container.

0

精彩评论

暂无评论...
验证码 换一张
取 消