图像对齐(来自html) [英] image alignment (from html)

查看:48
本文介绍了图像对齐(来自html)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




这是html小组的一个小组,因为那里的主题被认为是



我想知道为什么(一半)平方图像没有在Internet Explorer的文本右边对齐(使用< img ... align =" right" /> 。

我认为即使在IE中也支持这种功能。在FF和Opera中它工作正常。
http://www.roderik.net/2008/05/25/ro...e-vienna-2008/ br />

请不要担心

验证器中的几个javascript错误(非CDATA)。

Mucht感谢任何建议。

Hi,

This is a folluw-up from the html group because it was considered
off-topic there.
I am wondering why (half of the) squared images are not aligned on the
right of the text in Internet Explorer (using <img ... align="right" />.
I thought this was supported even in IE. In FF and Opera it works fine.
http://www.roderik.net/2008/05/25/ro...e-vienna-2008/

Please don''t bother about the few javascript errors (non-CDATA) in the
validator.
Mucht thanks for any suggestions.

推荐答案

Roderik写道:
Roderik wrote:

我想知道为什么(一半的方形图像未在Internet Explorer中文本的

右侧对齐(使用< img ... align =" right" /&g t;。

我认为即使在IE中也支持这一点。在FF和Opera中,它工作正常。
http://www.roderik.net/2008/05/25/ro...e-vienna-2008/



CSS:


..imgleft {

浮动:左;

}

..imgright {

float:right;

}


HTML:


< p>

< span class =" imgright">

< img height =" 99"边界=" 2英寸宽度= QUOT; 99" alt =" to siemens building with

robots" src =" http://www.roderik.net/lib/img/thumbtosiemens(1).jpg">

< / span

在照片上你可以看到我们开发乐高车辆的一些镜头

in ...

< / p>


< p>

< span class =" imgleft">

< img height =" 99"边界=" 2英寸宽度= QUOT; 99" alt =" Cheakith Chandranna和

water?" src =" http://www.roderik.net/lib/img/thumbmralcohol.JPG">

< / span>

周五我们拿了飞往布拉迪斯拉发的飞机(价格便宜),...

< / p>

-

-bts

-朋友不要让朋友驾驶Windows

CSS:

..imgleft {
float: left;
}
..imgright {
float: right;
}

HTML:

<p>
<span class="imgright">
<img height="99" border="2" width="99" alt="to siemens building with
robots" src="http://www.roderik.net/lib/img/thumbtosiemens(1).jpg">
</span
On the photos you can see some shots of us developing our LEGO vehicles
in ...
</p>

<p>
<span class="imgleft">
<img height="99" border="2" width="99" alt="Cheakith Chandranna with
water?" src="http://www.roderik.net/lib/img/thumbmralcohol.JPG">
</span>
On Friday we took the plane to Bratislava (that was cheaper), ...
</p>
--
-bts
-Friends don''t let friends drive Windows


Beauregard T. Shagnasty schreef:
Beauregard T. Shagnasty schreef:

Roderik写道:
Roderik wrote:

>我想知道为什么(一半)平方图像没有在Internet Explorer的文本右侧对齐(使用< img ... align =" right" />。
我认为即使在IE中也支持这种功能。在FF和Opera中它工作正常。
http://www.roderik.net/2008/05/25/ro ... e-vienna-2008 /



CSS:


.imgleft {

float:left ;

}

.imgright {

浮动:正确;

}


HTML:


< p>

< span class =" imgright">

< img height =" 99"边界=" 2英寸宽度= QUOT; 99" alt =" to siemens building with

robots" src =" http://www.roderik.net/lib/img/thumbtosiemens(1).jpg">

< / span

在照片上你可以看到我们开发乐高车辆的一些镜头

in ...

< / p>


< p>

< span class =" imgleft">

< img height =" 99"边界=" 2英寸宽度= QUOT; 99" alt =" Cheakith Chandranna和

water?" src =" http://www.roderik.net/lib/img/thumbmralcohol.JPG">

< / span>

周五我们拿了飞往布拉迪斯拉发的飞机(价格便宜),...

< / p>


CSS:

.imgleft {
float: left;
}
.imgright {
float: right;
}

HTML:

<p>
<span class="imgright">
<img height="99" border="2" width="99" alt="to siemens building with
robots" src="http://www.roderik.net/lib/img/thumbtosiemens(1).jpg">
</span
On the photos you can see some shots of us developing our LEGO vehicles
in ...
</p>

<p>
<span class="imgleft">
<img height="99" border="2" width="99" alt="Cheakith Chandranna with
water?" src="http://www.roderik.net/lib/img/thumbmralcohol.JPG">
</span>
On Friday we took the plane to Bratislava (that was cheaper), ...
</p>



是的我知道(如果我自己编码,通常会这样做)但是我想要使用自动生成的对齐= left和align = right

编辑器生成的属性。因此,如果

可能,则不会对HTML本身进行任何更改。

Yes I know that (and usually do it that way if I code it myself) but I
wanted to use the automatically generated align=left and align=right
attributes generated by the editor. So no changes to the HTML itself if
possible.


Scripsit Roderik:
Scripsit Roderik:

这是来自html组的后续行动
This is a folluw-up from the html group



不,不是。你开始了一个新的主题,显然是你在那里找到了借口后,声称你的帖子与HTML有关,

尽管已被反驳(参考非CSS

渲染)。

No it isn''t. You started a new thread, apparently after you deciced to
post an excuse there, claiming that your posting was HTML related,
despite that having been disproved (by a reference to non-CSS
rendering).


请不要打扰
验证器。
Please don''t bother about the few javascript errors (non-CDATA) in the
validator.



在做完作业之前,没有人应该为这个问题烦恼。

在前面的讨论中解释过。


在你有线索之前,请不要修复你伪造的From字段。感谢

提前。


-

Jukka K. Korpela(Yucca)
< a rel =nofollowhref =http://www.cs.tut.fi/~jkorpela/target =_ blank> http://www.cs.tut.fi/~jkorpela/

Nobody should bother with the problem before you do your homework as
explained in the previous discussion.

Please do not fix your forged From field before you have a clue. Thank
you in advance.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/


这篇关于图像对齐(来自html)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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