我会回到表格 [英] I will return to tables

查看:64
本文介绍了我会回到表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://dardel.info/Eau.html


我想要实现的并不是很复杂:基本上是一个左边的

手栏,宽度为75%,右栏包含

偶尔右冲刷,加上一些填充整个水平的东西

空间。


我开发得非常好,这正是我想在Safari下

或Firefox(Mac),但是当我在MSIE下打开它时,它已经遍布

的地方,没有宽度可以正常,Mac和PC版本是还有

不同。


如果点击上面的内容,你会看到的是更多或者更少的b / b
我测试过的浏览器,但没有一个是我瞄准的目标,而且我不得不求助于一些关于宽度的黑客,所以它在IE下呈现可接受的
以及更符合标准的浏览器。


如果有人h为了让它变得更好,我会非常感激。

然而,我正在认真考虑回到桌面布局

我用了几年前。预计会有更少的惊喜。


-

Fran?ois de Dardel
http://dardel.info/

Faber est suae quisque fortunae

Enlever le quatorze pour m''écrire

删除地址中的十四个以发送邮件

http://dardel.info/Eau.html

What I wanted to achieve was not really complicated: essentially a left
hand column with a 75% width, and a right hand column containing
occasional right-flush picts, plus some stuff filling the whole horiz
space.

I developed that very nicely, it was exactly what I wanted under Safari
or Firefox (Mac), but when I opened it under MSIE it was all over the
place, none of the widths was OK, and the Mac and PC versions were also
different.

What you will see if you click the above is something that is more or
less acceptable in all browsers I have tested, but none is exactly what
I aimed at, and I had to resort to some hack about widths so it renders
acceptably under IE as well as the more compliant browsers.

If anybody has a way to make it better, I''d be immensely grateful.
However, I am seriously considering to return to the table layouts that
I used a few years ago. There are less surprises to expect.

--
Fran?ois de Dardel
http://dardel.info/
Faber est suae quisque fortunae
Enlever le quatorze pour m''écrire
Remove fourteen in the address to send mail

推荐答案

Fran?ois de Dardel写道:
Fran?ois de Dardel wrote:
http://dardel.info/ Eau.html


我想要实现的并不是很复杂:基本上是一个

左手栏,宽度为75%,并且右栏包含

偶尔右冲刷的图片,加上一些填充整个水平的东西

空间。


我开发了非常好,这正是我想要的

Safari或Firefox(Mac),但当我在MSIE下打开它时,它全部是

这个地方,没有宽度可以,Mac和PC

版本也不同。


如果点击上面的内容你会看到的是在我测试过的所有浏览器中,更多或者更不可接受的东西,但是没有一个确切地说是我所瞄准的,而且我不得不求助于一些关于宽度的hack它可以在IE以及更符合标准的浏览器下呈现可接受的价格。


如果有人有办法让它变得更好,我会非常感激。

但是,我正在认真考虑回到几年前我用过的桌面布局

。预计会有更少的惊喜。
http://dardel.info/Eau.html

What I wanted to achieve was not really complicated: essentially a
left hand column with a 75% width, and a right hand column containing
occasional right-flush picts, plus some stuff filling the whole horiz
space.

I developed that very nicely, it was exactly what I wanted under
Safari or Firefox (Mac), but when I opened it under MSIE it was all
over the place, none of the widths was OK, and the Mac and PC
versions were also different.

What you will see if you click the above is something that is more or
less acceptable in all browsers I have tested, but none is exactly
what I aimed at, and I had to resort to some hack about widths so it
renders acceptably under IE as well as the more compliant browsers.

If anybody has a way to make it better, I''d be immensely grateful.
However, I am seriously considering to return to the table layouts
that I used a few years ago. There are less surprises to expect.



您可以使用display:table,display:table-row和display:table-cell to

使Html元素表现得像一个表。不幸的是,IE不支持这部分Css标准,但你可以用条件

评论来解决它。请参阅:

http://nrkn.com/displayTable/


" Nik Coughlin" < nr ****** @ gmail.comwrote:
"Nik Coughlin" <nr******@gmail.comwrote:

>但是,我正在认真考虑回到表布局
我几年前用过的。预计会有更少的惊喜。
>However, I am seriously considering to return to the table layouts
that I used a few years ago. There are less surprises to expect.


您可以使用display:table,display:table-row和display:table-cell来使Html元素表现得像一个表。


You can use display: table, display: table-row and display: table-cell to
make Html elements behave like a table.



用于创建布局网格的CSS表共享所有令人讨厌的缺点

用于创建布局网格的HTML表减去false语义学

(可以说是最不重要的问题)。


-

Spartanicus

CSS tables used to create a layout grid share all of the nasty drawbacks
of HTML tables used to create a layout grid minus the false semantics
(arguably the least important problem).

--
Spartanicus


在2007-02-05 23:36:23 +0100,Nik Coughlin < nr ****** @ gmail.comsaid:
On 2007-02-05 23:36:23 +0100, "Nik Coughlin" <nr******@gmail.comsaid:

Fran?ois de Dardel写道:
Fran?ois de Dardel wrote:

> http://dardel.info/Eau.html

我想要实现的并不是很复杂:基本上是一个宽度为75%的左侧列,右侧列包含
偶尔的右侧冲洗图片,还有一些东西填补整个水平空间。
>http://dardel.info/Eau.html

What I wanted to achieve was not really complicated: essentially a
left hand column with a 75% width, and a right hand column containing
occasional right-flush picts, plus some stuff filling the whole horiz
space.



你可以使用display:table,display:table-row和display:table-cell

来使Html元素表现得像一个表。不幸的是,IE不支持
支持这部分Css标准,但你可以用

条件评论来破解它。请参阅:

http://nrkn.com/displayTable/



谢谢,但如果没有IE生活会更容易。我确实希望

喜欢避免条件评论。我找到了一个有助于

宽度的黑客,我宁愿避免黑客入侵。如果我想做表格,我会用HTML表格做表格,而不是用CSS来模仿他们的行为。


我已经把这个页面的版本带边框所以更明显的是:
http://dardel.info/test.html


-

Fran?ois de Dardel
http://dardel.info/

Faber est suae quisque fortunae

Enlever le quatorzepourm''écrire

删除地址中的十四个发送邮件

Thanks but if there were no IE life would be easier. I precisely would
like to avoid conditional comments. I found a hack that helps with
widths, I would prefer to avoid a hack. If I wanted to do tables I
would do HTML tables, not mimic their behaviour with CSS.

I have put a version of this page with borders so it is more obvious:
http://dardel.info/test.html

--
Fran?ois de Dardel
http://dardel.info/
Faber est suae quisque fortunae
Enlever le quatorze pour m''écrire
Remove fourteen in the address to send mail


这篇关于我会回到表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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