使用对角线缩进显示段落的文本 [英] Display Paragraph's text with Diagonal Indent

查看:82
本文介绍了使用对角线缩进显示段落的文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





请记住,此文本是用WYSIWYG编辑器。



我在想如果有一个方法来计算段落中的单词,不包括html标签,然后使用一些方程来增加文本的缩进。



有任何建议吗?

解决方案

在许多搜索资料后,我发现了一些有用的 http://www.csstextwrap.com/examples.php
我认为经过一些修改,它将符合我的要求。感谢您的高度赞赏的响应。


I wonder if there is a way to display paragraph text with diagonal indent to be some thing like that!

Keeping in mind that this text is written in WYSIWYG editor (Contains html tags).

I was thinking if there is a way to count the words within the paragraph excluding html tags and then making some equations to increase the indent of the text every line by jQuery or Javascript.

Is there any suggestions to do that ?

解决方案

After many Searching stuff I found something useful http://www.csstextwrap.com/examples.php I think after some modifications it will fit my requirements. thanks for your highly appreciated Responses.

这篇关于使用对角线缩进显示段落的文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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