有没有办法可以完全没有桌子? [英] Is there a way I can do without tables completely?

查看:84
本文介绍了有没有办法可以完全没有桌子?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人能够改进这个解决方案,让我完全没有桌子吗?

http://www.cs.man.ac.uk/~daf/ipcs .. .allery_old.php


使用表格来布置缩略图及其标题。这个a)

使用一个表,b)当窗口很大时浪费空间,c)当窗口很小时重叠

RHS div。


我使用相同的方法

http://www.cs.man.ac.uk/~daf/ipcs...sformation.php


遭受同样的错误,另外往往会在Safari的页面中间画出页面

因为你不能把

图像按钮上的高度属性(大概)。


我最好的选择是

http://www.cs.man.ac.uk/~daf/ipcs...aq/gallery .php


得到问题b)和c)但是每个

按钮使用一行表来保持其标题固定到图像(我无法想象

任何其他wa你这样做的。)另外,它在Opera中看起来很糟糕(我在
尝试了第8版);即使有足够的空间可以容纳两张或者连续多张图片,Opera也不会。表格标题集中在

包含div,而不是图像按钮。


我预计画廊中至少有100个缩略图。我正在尝试使用
来保持尽可能流畅的东西,以便人们可以使用他们喜欢的文本大小和他们喜欢的窗口尺寸。


有人有什么建议吗?


-

Daf Tregear

英国曼彻斯特

Is anyone able to improve on this solution, and enable me to do
without tables completely?

http://www.cs.man.ac.uk/~daf/i-p-c-s...allery_old.php

uses a table to lay out the thumbnails and their captions. This a)
uses a table, b) wastes space when the window is large and c) overlaps
the RHS div when the window is small.

I use the same approach for

http://www.cs.man.ac.uk/~daf/i-p-c-s...sformation.php

which suffers the same fault and in addition tends to get the footer
painted over the middle of the page in Safari since you can''t put the
height attribute on image buttons (presumably).

My best alternative is

http://www.cs.man.ac.uk/~daf/i-p-c-s...aq/gallery.php

which gets round problems b) and c) but uses a one-row table for each
button to keep its caption anchored to the image (I couldn''t think of
any other way of doing it). In additon it looks terrible in Opera (I
tried version 8); even when there is plenty of space to fit in two or
more images in a row, Opera doesn''t. The table caption is centred on
the containing div, not on the image button.

I anticipate having at least 100 thumbnails in the gallery. I''m trying
to keep things as fluid as possible so that people can use the text
size they like and the window size they like.

Does anyone have any suggestions, please?

--
Daf Tregear
Manchester, UK

推荐答案

是的,您可以完全使用表格。但你可以使用表格来表示他们对''管状数据'的评价,而且我认为画廊可以是

被认为是管状数据,但这只是我的想想。

Yes, you can do with out tables completely. But you can use tables for
what they were ment for ''Tubular Data'' and as i see it a gallery can be
considered Tubular Data but that is just my thought.


2005年5月23日16:24:50 +0100,Daphne Tregear< da*@cs.man.ac.uk>

写道:
On 23 May 2005 16:24:50 +0100, Daphne Tregear <da*@cs.man.ac.uk>
wrote:
有没有人能够改进这个解决方案,让我能够完全没有桌子吗

http://www.cs .man.ac.uk / ~daf / ipcs ... allery_old.php
Is anyone able to improve on this solution, and enable me to do
without tables completely?

http://www.cs.man.ac.uk/~daf/i-p-c-s...allery_old.php




Google是你的朋友。例如,请查看< URL:

http://joshuaink.com/blog/206/css-photo-gallery-template>或者< URL:

http://webdesign.about.com/cs/websitetemplates/p/blphotogallery.htm>。

-

Thomas



Google is your friend. Have a look at for example <URL:
http://joshuaink.com/blog/206/css-photo-gallery-template> or <URL:
http://webdesign.about.com/cs/websitetemplates/p/blphotogallery.htm>.
--
Thomas


logic_earth写道:
logic_earth wrote:
是的,你可以完全使用表格。但你可以使用表格来表示他们对''Tubular Data'的看法,而且我认为画廊可以被认为是管状数据,但这只是我的想法。
Yes, you can do with out tables completely. But you can use tables for
what they were ment for ''Tubular Data'' and as i see it a gallery can be
considered Tubular Data but that is just my thought.




你不会使用< TUBE>为此标记?



Wouldn''t you use the <TUBE> tag for that?


这篇关于有没有办法可以完全没有桌子?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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