两列;应该很简单 [英] Two Columns; Should be Simple

查看:74
本文介绍了两列;应该很简单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在IE中查看,此页面正是我想要做的:

http://www.holotech.net/links/

标题,两个固定宽度的列和一个页脚。但是,在NS和Opera中,

第二列向左滑动,位于第一列的顶部。我已经阅读了

我可以找到的所有教程和示例,但其他所有内容都结束了

,第二列一直在窗口的右侧。我只想让它与第一列相提并论。我知道这应该是简单的,但是我无法得到它。


我真的,真的不想使用桌子,但如果我不打算不停地敲打我的

头,我很快就会需要就医。


-

Alan Little

Phorm PHP表格处理器
http://www.phorm.com/

Viewed in IE, this page is exactly what I''m trying to do:

http://www.holotech.net/links/

Header, two fixed-width columns, and a footer. However, in NS and Opera,
the second column slides to the left, on top of the first column. I''ve read
all the tutorials and examples I could find, but everything else ends up
with the second column all the way over on the right side of the window. I
just want it butted up against the first column. I know this should be
simple, but I just can''t get it.

I''m really, really trying not to use tables, but if I don''t stop banging my
head on the desk soon I''m going to require medical attention.

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/

推荐答案

Alan Little< al ** @ nospam-phorm.com>写道:
Alan Little <al**@n-o-s-p-a-m-phorm.com> wrote:
http://www.holotech .net / links /

我真的,真的不想用桌子了
http://www.holotech.net/links/

I''m really, really trying not to use tables




你去了更重要的事情要先解决:


1)使用语义标记

2)严格标准的代码

3)使用CSS替换垃圾像< br>< br>

4)不要将XHTML与HTML混合

5)修复微字体


-

Spartanicus



You''ve go far more important things to fix first:

1) Use semantic markup
2) Code to strict standard
3) Use CSS to replace junk like <br><br>
4) Not mix XHTML with HTML
5) Fix the micro fonts

--
Spartanicus


在活石上雕刻神秘符文,
$ b的最后一句话$ b Spartanicus< in ***** @ invalid.invalid>

comp.infosystems。 www.authoring.stylesheets 简单明了:
Carved in mystic runes upon the very living rock, the last words of
Spartanicus <in*****@invalid.invalid> of
comp.infosystems.www.authoring.stylesheets make plain:
Alan Little< al ** @ nospam-phorm.com>写道:
Alan Little <al**@n-o-s-p-a-m-phorm.com> wrote:
http://www.holotech .net / links /

我真的,真的不想使用表格
http://www.holotech.net/links/

I''m really, really trying not to use tables



你有更重要的事情首先解决:

1)使用语义标记
2)严格标准的代码
3)使用CSS替换垃圾,例如< br>< br>
4)不要将XHTML与HTML混合
5)修复微字体



You''ve go far more important things to fix first:

1) Use semantic markup
2) Code to strict standard
3) Use CSS to replace junk like <br><br>
4) Not mix XHTML with HTML
5) Fix the micro fonts




感谢您的回复。我恐怕大部分都不理解。我是
我是程序员,而不是设计师。我知道基本的HTML,我已经学会了一些基本的CSS,但就是这样。我知道我可以使用

表来获得我想要的布局,但我想要更开明。我只想把

放在一个或两个简单的模板上,然后用这个应用程序。


-

Alan Little

Phorm PHP表格处理器
http://www.phorm .com /


Alan Little< al ** @ nospam-phorm.com>写道:
Alan Little <al**@n-o-s-p-a-m-phorm.com> wrote:
http://www.holotech.net/links/

我真的,真的不想用桌子
你首先要解决更重要的事情:
http://www.holotech.net/links/

I''m really, really trying not to use tables
You''ve go far more important things to fix first:



感谢您的回复。我恐怕大部分都不理解。
1)使用语义标记
使用标题,列表,段落。 Divs和span只应用于

封装代码以用于样式目的.2)严格标准的代码
在这种精神中使用严格的doctype和代码.3)使用CSS代替垃圾<峰; br><峰; br>
自然明显.4)不要将XHTML与HTML混合
< ... />不属于HTML文档.5)修复微字体
我无法读取微观字体。不要指定Verdana作为身体

字体,单独保留正文字体大小,并且不要使用px单位进行字体

大小调整。所有这些问题都在这个小组讨论过死亡。

我是程序员,而不是设计师。我知道基本的HTML,我已经学会了一些基本的CSS,但就是这样。我知道我可以使用
表格获得我想要的布局,但我想要更开明。


Thank you for your response. I''m afraid I don''t understand most of it. 1) Use semantic markup Use headers, lists, paragraphs. Divs and spans should only be used to
encapsulate code for styling purposes.2) Code to strict standard Use a Strict doctype and code in that spirit.3) Use CSS to replace junk like <br><br> Self evident.4) Not mix XHTML with HTML <... /> does not belong in a HTML document.5) Fix the micro fonts I can''t read the microscopic font. Don''t specify Verdana as the body
font, leave the body font size alone, and don''t use the px unit for font
sizing. All these issues have been discussed to death on this group.
am a programmer, not a designer. I know basic HTML, and I''ve learned some
basic CSS, but that''s it. I know I can get the layout I want using
tables, but I''m trying to be more enlightened.




然后首先解决上述问题,它们比使用表格布局更有害于代码的质量。


-

Spartanicus



Then first fix the above issues, they are far more detrimental to the
quality of the code than using tables for layout could be.

--
Spartanicus


这篇关于两列;应该很简单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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