如何在没有表格的情况下进行布局(使用div)... [英] How to make layout without tables (using div's)...

查看:95
本文介绍了如何在没有表格的情况下进行布局(使用div)...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨。

我正在努力做出正确的布局,下面是一个例子(动态

通过jsp生成的内容):

http://localhost/www/layout.htm

大多数外部div被定位为绝对值(如果不是那么它将不会增长

当div.body中的内容大于用户窗口的宽度时

agent ),无论如何,任何知识渊博的人都可以在消息来源中看到它...


在IE6上布局增长,但背景不适用。

在Firefox 1.5布局增长,但不是所有的桌子都在里面。


在Netscape 8 / Mozilla 1.7.12 / Opera 8.5上,布局没有增长,所以我没有b $ b有麻烦...


任何人都可以知道帮助我吗? (CSS规则在seti2.css中)。


祝你好运。

Luke Matuszewski

Hi.
I am trying to make correct layout, here is an example of (dynamically
generated content via jsp):

http://localhost/www/layout.htm

Most outer div is positioned absolute (if not then it will not grow
when content inside div.body is greater than width of window of user
agent), anyway anyone knowlegable can see it in sources...

On IE6 the layout grow, but background are not applied.
On Firefox 1.5 layout grow, but not all tables are inside it.

On Netscape 8/Mozilla 1.7.12/Opera 8.5 the layout is not growing, so i
have trouble...

Can anyone knowlegable help me ? (CSS rules are in seti2.css).

Best regards.
Luke Matuszewski

推荐答案

Luke napisal(a):
Luke napisal(a):
http://localhost/www/layout.htm



对不起我的错误,更正网址为:

< a rel =nofollowhref =http://milt.eu.org/~luk/files/layout/layout.htmtarget =_ blank> http://milt.eu.org/~luk/files /layout/layout.htm (很遗憾

看字符 - 页面应该作为UTF-8而不是ISO -....)


Sorry my mistake, correc URL is:

http://milt.eu.org/~luk/files/layout/layout.htm (sorry for badly
looking characters - the page should be served as UTF-8 not ISO-....)


您是否尝试过此网站:
http: //glish.com/css/

或:
http://www.alistapart.com/articles/practicalcss/


或本文abou表格或CSS是否更好:
http://www.alistapart .com / articles / practicalcss /

祝你好运


" Luke" <毫安**************** @ gmail.com>在消息中写道

news:11 ********************* @ g43g2000cwa.googlegro ups.com ...
Have you tried this site:
http://glish.com/css/

or:
http://www.alistapart.com/articles/practicalcss/

or this article about whether tables or CSS is better:
http://www.alistapart.com/articles/practicalcss/

Good luck

"Luke" <ma****************@gmail.com> wrote in message
news:11*********************@g43g2000cwa.googlegro ups.com...
Luke napisal(a):
Luke napisal(a):
http ://localhost/www/layout.htm


抱歉我的错误,更正网址为:

http://milt.eu.org/~luk/files/layout/layout.htm (抱歉看起来很糟糕 - 页面应该是UTF-8而不是ISO -....)


Sorry my mistake, correc URL is:

http://milt.eu.org/~luk/files/layout/layout.htm (sorry for badly
looking characters - the page should be served as UTF-8 not ISO-....)



On Tue,07 2006年2月19:05:48 +0100 ,. < GA ******* @ worldnet.att.net>写道:
On Tue, 07 Feb 2006 19:05:48 +0100, . <ga*******@worldnet.att.net> wrote:
你试过这个网站:




< URL:http://www.netmeister.org/ news / learn2quote.html>

-

______PretLetters:

|博客| http://www.pretletters.net/weblog/weblog.html |

| webontwerp | http://www.pretletters.net/html/webontwerp.html |

| zweefvliegen | http://www.pretletters.net/html/vliegen.html |



<URL:http://www.netmeister.org/news/learn2quote.html>
--
______PretLetters:
| weblog | http://www.pretletters.net/weblog/weblog.html |
| webontwerp | http://www.pretletters.net/html/webontwerp.html |
|zweefvliegen | http://www.pretletters.net/html/vliegen.html |


这篇关于如何在没有表格的情况下进行布局(使用div)...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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