img align = right :-( [英] img align=right :-(

查看:74
本文介绍了img align = right :-(的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我想知道为什么(一半)平方图像没有在Internet Explorer中文本的

右边对齐(使用< img ... align =" right" />。

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

Mucht感谢任何建议。

Hi,

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/

Mucht thanks for any suggestions.

推荐答案

在文章< 48 ********** @ mk-nntp-2.news.uk.tiscali.com>,

Roderik< no **** @ atall.nlwrote:
In article <48**********@mk-nntp-2.news.uk.tiscali.com>,
Roderik <no****@atall.nlwrote:




我想知道为什么(一半)平方图像没有对齐在Internet Explorer中文本的右边是

(使用< img ... align =" right" />。

我认为即使在IE中也支持在FF和Opera中它工作得很好。
http://www.roderik.net/2008/05/25 /ro...e-vienna-2008/

Mucht感谢任何建议。
Hi,

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/

Mucht thanks for any suggestions.



使用css对齐图像。 text-align:left,或者float:left;


当你的所有样式表都被打开时,你的网站更容易被访问

off。


当浏览器窗口宽度减小时,主要内容没有理由无法紧缩




使用4.01 Strict doctype,摆脱align =""支持CSS。对于左右浮动图片的示例:


< http://netweaver.com.au/alt/floatleftFloatright.html>


看看当您玩浏览器尺寸时会发生什么,并与您的b
$ b进行比较。如果你想要在课堂上跳跃,你需要灵活地进入你的页面。


-

dorayme

Use css to align images. Either text-align: left, or float: left;

Your site is much more accessible when all your stylesheets are turned
off.

There is no excuse for the main content not being able to squeeze
tighter when the browser window width is reduced.

Use 4.01 Strict doctype, get rid of align="" in favour of CSS. For an
example of floating pics left and right:

<http://netweaver.com.au/alt/floatleftFloatright.html>

See what happens when you play about with the browser size and compare
with yours. You need to get this kind f flexibility into your pages if
you want to jump in class.

--
dorayme


Scripsit Roderik:
Scripsit Roderik:

我想知道为什么(一半)平方图像没有对齐

Internet Explorer中的文本右侧(使用< img ... align =" right"

/>。我认为即使在IE中也支持此功能。
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.



它是,但它可以在CSS中重写。

It is, but it can be overridden in CSS.

http://www.roderik.net/2008/05/25/ro...e- vienna-2008 /



验证者报告了6个标记错误。在发布之前你没有做过b / b
作业。


如果关闭样式表,例如使用Tantek favelet(
http://tantek.com/favelets/ ),你会看到IE按照定义应用align =" right"




因此,问题在于CSS,而不是HTML。因此,这个

组是偏离主题的。此外,您应该使用可用的

工具来检查HTML和CSS的语法正确性,然后再在公共场合寻求帮助。


-

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

There are 6 markup errors reported by a validator. You didn''t do you
homework before posting.

If you switch stylesheets off, e.g. using a Tantek favelet (
http://tantek.com/favelets/ ), you''ll see that IE applies align="right"
as defined.

Thus, the problem is in CSS, not HTML. Hence it is off-topic in this
group. Moreover, you should do your homework by using the available
tools for checking the syntactic correctness of your HTML and CSS before
asking for help in public.

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


Jukka K. Korpela schreef:
Jukka K. Korpela schreef:

Scripsit Roderik:
Scripsit Roderik:

>我想知道为什么(一半)在Internet Explorer中文本的右侧没有对齐方形图像(使用< img ... align =" right"
/> ;.我认为即使在IE。
>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.



它是,但它可以在CSS中重写。


It is, but it can be overridden in CSS.


> http:// www.roderik.net/2008/05/25/ro...e-vienna-2008/



验证器报告了6个标记错误。在发布之前你没有做过

作业。


There are 6 markup errors reported by a validator. You didn''t do you
homework before posting.



我经常验证页面。 6个错误是javascript,其中我知道的是
。这是添加CDATA语句的问题,但

javascript是自动生成的,这是一个耗时的代码

更改。然而,我似乎不太可能那个

javascript(我的意思是由Google提供)与图像放置有关。

I validate the page quite often. The 6 errors are in javascript of which
I was aware. It is a matter of adding a CDATA statement but the
javascript is automatically generated so that is a time consuming code
change. However it seemed to be quite unlikely to me that that
javascript (I mean provided by Google) was related to the image placement.


如果关闭样式表,例如使用Tantek favelet(
http://tantek.com/favelets/ ),你会看到IE按照定义应用align =" right"


If you switch stylesheets off, e.g. using a Tantek favelet (
http://tantek.com/favelets/ ), you''ll see that IE applies align="right"
as defined.



我使用web开发人员tootlbar。

I use web developer tootlbar.


>

因此,问题在于CSS,而不是HTML。
>
Thus, the problem is in CSS, not HTML.



这个问题可能是相互关联的,但肯定不得不使用HTML,因为

它涉及HTML样式(或在这种情况下对齐)属性。


因此它在这个

The problem might be interrelated but it surely had to with HTML since
it concerns a HTML style (or align in this case) attribute.

Hence it is off-topic in this


组中是偏离主题的。此外,您应该使用可用的

工具来检查HTML和CSS的语法正确性,然后再在公共场合寻求帮助。
group. Moreover, you should do your homework by using the available
tools for checking the syntactic correctness of your HTML and CSS before
asking for help in public.



你不应该假设我没有。

You shouldn''t assume that I didn''t.


这篇关于img align = right :-(的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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