无桌面布局&形式 [英] table-less layout & forms

查看:61
本文介绍了无桌面布局&形式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好


有没有很好的解决方案来调整表格字段名称和输入框

而不诉诸表格?我很难在

时刻做得很好。


谢谢

Ciao


Zak


-

======================== ========================== ======================
http://www.carfolio.com/ 可搜索的10 000+车辆数据库规格

========================================= ========= ======================

解决方案

< blockquote> Zak McGregor写道:


是否有任何好的解决方案来对齐表单字段名称和输入
框而不诉诸表格?




假设您已使用< label>标记了表单对于每个表单元素:


为标签指定宽度,然后向左浮动。见

< http://www.julietremblay.com/site/contact.html>

不是网站中的表格。我做了这个页面,所以问你是否有问题

关于那里有什么。


-

Brian

按照我的地址中的说明给我发电子邮件


2003年7月9日星期三07:09:15 +0200,Brian <" Brian"

< br *** @ wfcr.org.invalid-remove-this-part>>写道:

Zak McGregor写道:


是否有任何好的解决方案来对齐表单字段名称和输入
框而不诉诸表?



假设您已使用< label>标记了表单对于每个表单元素:

为标签指定宽度,并向左浮动。请参阅<
http://www.julietremblay.com/site /contact.html >不是网站中的表格。我做了这个页面,所以问你是否对那里有什么问题。




谢谢,但标签支持[1]不是很好,在某些浏览器中,当给出display:css规则时,它会显示

buggily。 Mozilla想到了

的例子。


我后来发现了这个:
http://studioid.com/cgi-bin/links/jump.cgi?ID=444


这可以帮我整理一下。


Ciao


Zak
[1]我不确定标签标签是否也适用于此,这可能是b $ b解释显示它时的一些瑕疵。

-

======================================= =========== ======================
http://www.carfolio.com/ 可搜索的10 000多种汽车规格数据库

====== ============================================ ====== ================


[snip]


对,我为此我会被淹没,但IMHO css无法处理

布局像表单一样简单。为什么css最终会结束

在html页面上放置元素是如此绝对的废话?你可以给b $ b放置元素,当然,我不反对,但你可以选择

液体设计_或_合理定位。


< / grumble>


-

================= ================================= ================= =====
http://www.carfolio.com/ 可搜索的10 000多辆汽车规格数据库

================================== ================ ======================


Hi all

Are there any good solutions to aligning form field names and input boxes
without resorting to tables? I am struggling to do this nicely at the
moment.

Thanks
Ciao

Zak

--
================================================== ======================
http://www.carfolio.com/ Searchable database of 10 000+ car specs
================================================== ======================

解决方案

Zak McGregor wrote:


Are there any good solutions to aligning form field names and input
boxes without resorting to tables?



Assuming you have marked up the form with <label> for each form element:

assign a width to the label, and float it left. See
< http://www.julietremblay.com/site/contact.html >
not a table in site. I did this page, so ask if you have questions
about what''s there.

--
Brian
follow the directions in my address to email me


On Wed, 09 Jul 2003 07:09:15 +0200, Brian <"Brian"
<br***@wfcr.org.invalid-remove-this-part>> wrote:

Zak McGregor wrote:


Are there any good solutions to aligning form field names and input
boxes without resorting to tables?



Assuming you have marked up the form with <label> for each form element:

assign a width to the label, and float it left. See <
http://www.julietremblay.com/site/contact.html > not a table in site. I
did this page, so ask if you have questions about what''s there.



Thanks, but label support[1] is not great and in some browsers it displays
buggily when given a display: css rule. Mozilla springs to mind for
example.

I have subsequently found this:
http://studioid.com/cgi-bin/links/jump.cgi?ID=444

which goes some way to sorting me out.

Ciao

Zak
[1] I''m not sure that the label tag is meant for this either, which may
explain some bugginess wrt the displaying of it.
--
================================================== ======================
http://www.carfolio.com/ Searchable database of 10 000+ car specs
================================================== ======================


[snip]

Right, I''m going to be flambed for this, but IMHO css is unable to handle
laying out something as simple as a form. Why on earth did css end up
being so absolutely crap at placing elements on an html page? You can
place elements, sure, I do not dispute that, but you''ve got a choice between
liquid design _or_ reasonable positioning.

</grumble>

--
================================================== ======================
http://www.carfolio.com/ Searchable database of 10 000+ car specs
================================================== ======================


这篇关于无桌面布局&amp;形式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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