剥去白色空间 [英] Strip white space
问题描述
是否可以使两个内联元素相邻?
剥离源中出现的任何空格?
示例:
< span class =" adj"> 1< / span>
< span class =" adj"> 2< / span>
< span class =" adj"> 3< / span>
-
Stanimir
Is it possible to make two inline elements to appear adjacent
stripping any white space appearing in between in the source?
Example:
<span class="adj">1</span>
<span class="adj">2</span>
<span class="adj">3</span>
--
Stanimir
推荐答案
Stanimir Stamenkov< s7 **** @ netscape.net>写道:
Stanimir Stamenkov <s7****@netscape.net> wrote:
是否可以使两个内联元素相邻?
剥离源中出现的任何空格?
示例:
< span class =" adj"> 1< / span>
< span class =" adj"> 2< / span>
< span class =" adj"> 3< / span>
Is it possible to make two inline elements to appear adjacent
stripping any white space appearing in between in the source?
Example:
<span class="adj">1</span>
<span class="adj">2</span>
<span class="adj">3</span>
不是100%肯定你的意思,但是这样做了吗?
< span class =" adj"> 1< / span>< span class =" adj"> 2< / span>< span
class =" adj"> 3< / span>
Steve
-
" My理论给你,我的异端邪说你愤怒,
我从不回信,你不喜欢我的领带。 - 医生
Steve Pugh< st *** @ pugh.net> < http://steve.pugh.net/>
Not 100% sure what you mean, but does this do it?
<span class="adj">1</span><span class="adj">2</span><span
class="adj">3</span>
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don''t like my tie." - The Doctor
Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Steve Pugh写道:
Steve Pugh wrote:
Stanimir Stamenkov< s7 **** @ netscape.net>写道:
Stanimir Stamenkov <s7****@netscape.net> wrote:
是否有可能使两个内联元素相邻?
剥离源中出现的任何空格?
Is it possible to make two inline elements to appear adjacent
stripping any white space appearing in between in the source?
不是100%确定你的意思,但是这样做了吗?
< span class =" adj"> 1< / span>< span class =" adj"> ; 2< / span>< span
class =" adj"> 3< / span>
Not 100% sure what you mean, but does this do it?
<span class="adj">1</span><span class="adj">2</span><span
class="adj">3</span>
:-)是的,但是我已经问过这样的情况:(想想它):b $ b就像:应该有的话。来源中的元素之间有一个空格。
-
Stanimir
:-) Yeah, but I''ve asked about the case where there''s (think of it
like: there should be) a white space between the elements in the source.
--
Stanimir
Stanimir Stamenkov于2003年4月4日在
comp.infosystems上写道。 www.authoring.stylesheets:
Stanimir Stamenkov wrote on 04 nov 2003 in
comp.infosystems.www.authoring.stylesheets:
是否有可能使两个内联元素看起来相邻
剥离任何空白ap介于两者之间?
示例:
< span class =" adj"> 1< / span>
< span class = " adj">< / span>
Is it possible to make two inline elements to appear adjacent
stripping any white space appearing in between in the source?
Example:
<span class="adj">1</span>
<span class="adj">2</span>
< style>
.adj {font-size:40pt;}
.outer {font-size:0;}
.corr {margin-left:-12px;}
< / style>
< span class =" adj"> 1< / span>< span class =" adj"> 2< / span>
>
< br>
< span class =" external">
< span class =" adj"> ; 1< / span>
< span class =" adj"> 2< / span>
< / span>
>
< br>
< span class =" adj">
< span class =" adj"> ; 1< / span>
< span class =" adj corr"> 2< / span>
< / span>
-
Evertjan。
荷兰。
(Pl轻松将x''es改为我的电子邮件地址中的点。
<style>
.adj {font-size:40pt;}
.outer {font-size:0;}
.corr {margin-left:-12px;}
</style>
<span class="adj">1</span><span class="adj">2</span>
<br>
<span class="outer">
<span class="adj">1</span>
<span class="adj">2</span>
</span>
<br>
<span class="adj">
<span class="adj">1</span>
<span class="adj corr">2</span>
</span>
--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)
这篇关于剥去白色空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!