如何将WebForm分为两部分 [英] How to split the WebForm in two parts

查看:114
本文介绍了如何将WebForm分为两部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,所有专家,

如何将WebForm分为两部分,以及如何以相同大小设置所有文本框

预先感谢您宝贵的重播

Hi All Experts,

How to split the WebForm in two parts and how set the all textboxes in form same size

Thanks in advance for valuable replay

推荐答案

WebForm的两个部分?整个HTML都可以为您服务,任何内容都可以放在表单中.一些<div>元素;我会先用CSS尝试一下.您甚至可以将它们排列在列中,实现浮动等.了解CSS.

相同大小的文本框?使用相同值的width属性:-).

—SA
Two parts of WebForm? Whole HTML is at your service, anything can be put inside a form. Some <div> elements; I would try them first, with CSS. You can even arrange them in columns, implement floating, etc. Learn CSS.

Same-size text boxes? Use same-value width attribute :-).

—SA




1)要拆分表单,您可以采用两个不同的面板,它们将充当同一页面的两个部分

2)设置文本大小在整个项目或页面中相同,只是在文本框中包括以下CSS ....


Hi,

1)To Split The Form You Can Take two Different panels that will act as two parts of Same Page

2)To Set Size of text Same In all over the Project or page just Include Following Css for text box.......


 .TextBox
{
	height: 15px;
	font-family: Arial;
}	  





选择每个文本框的cssclass作为TextBox





Select cssclass of each text box as TextBox


,有很多方法可以拆分Web表单,最简单的方法是使用带有两个单元格的表格.

或在您的Web表单中使用两个用户组件.

或在您的网络表单中使用两个DIV ...

对于具有所有相同大小的文本框,应为编辑框定义css样式:


.input [type = text]
{
宽度:200;
}


阅读此内容:
http://www.jankoatwarpspeed. com/post/2008/07/27/Enhance-your-input-fields-with-simple-CSS-tricks.aspx [
there are a lot of ways to split a web form the simplest one is using a table with two cells.

or use two user components in your web form.

or use two DIVs in your webform ...

for having all same size text boxes you should define a css style for edit boxes :


.input[type=text]
{
width : 200;
}


read this :
http://www.jankoatwarpspeed.com/post/2008/07/27/Enhance-your-input-fields-with-simple-CSS-tricks.aspx[^]


这篇关于如何将WebForm分为两部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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