本文介绍了如何将属性值拆分为两行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个asp应用程序,我想将如下所示的行拆分为两行(我想手动换行)
I have an asp app, and I'd like to split a line like the following on to two lines (I'd like to manually wrap the line)
<table style="border: thin solid #808080; padding: 3px 5px 7px 5px; vertical-align:top; margin-left: auto; margin-right: auto;">理想情况下,我希望看到类似这样的内容:
Ideally, I'd like to see something like this:
<table style="border: thin solid #808080; padding: 3px 5px 7px 5px; " + "vertical-align:top; margin-left: auto; margin-right: auto;">但当然+运算符在这里不起作用。
But of course the + operator doesn't work here.
有什么办法可以完成这个任务吗?
Is there any way to accomplish this task?
推荐答案你不需要运算符。
<table style="border: thin solid #808080; padding: 3px 5px 7px 5px; vertical-align:top; margin-left: auto; margin-right: auto;">您应该考虑使用CSS文件,而不是内联样式。
You should consider using CSS files though instead of inline styling.
更多推荐
如何将属性值拆分为两行?
发布评论