使用Divisions替换表 [英] Using Divisions to replace tables

查看:70
本文介绍了使用Divisions替换表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正试图从使用表格进行布局以支持分裂。

前一段时间我在那里使用绝对定位。我遇到的问题是主要内容区域没有固定的高度(对于动态内容),然后能够将页脚(版权)栏放在它下面。


我使用表格作为内容和页脚,然后绝对定位其他所有内容。

Death Slaught 提供帮助我解决这个问题。


我想要的是这样的:

(我希望使用CODE标签来正确定位)。

展开 | 选择 | < span class =codeLinkonclick =WordWrap(this);> Wrap | 行号

解方案
是您的旗帜将要采取了定位在它的头整个横幅空间?您将在那里使用什么:图像,文本等


是。这是正确的横幅将占据横幅空间,标题将叠加在它上面。

实际上不要担心标题。我通常不会使用它。


横幅从数据库中获取二进制图像并将其用作背景图像。


好的,它是否会填满整个屏幕的宽度,或只是它的一部分并居中?


我很抱歉我的回复花了这么长时间。我很忙。



谢谢,死亡


I''m trying to move from using tables for layout in favours of divisions.
A while ago I got about halfway there using absolute positioning. The problem I had was having a main content area that didn''t have a fixed height (for dynamic content) and then being able to put the footer (copyright) bar below it.

I used tables for the content and footer and then absolutely positioned everything else.

Death Slaught offered to help me out with this.

What I''d like is something like this:
(I hope it''s alright the use CODE tags to get the positioning correct).

Expand|Select|Wrap|Line Numbers

解决方案

Is your banner going to be taking up the entire banner space with the header positioned over it? What will you be using there: images, text, etc.


Yes. That''s right the banner will be taking up the banner space and the header will be superimposed on top of it.
Actually don''t worry about the header. I don''t usually use it.

The banner gets a binary image from a database and uses it as the background image.


Alright, is it going to fill the full width of the screen, or only part of it and be centered?

My apologies for my replies taking so long. I''m very busy.


Thanks, Death


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

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