使用控件时出现表格对齐问题 [英] Form Alignment Issue while using controls

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

问题描述

你好,

我是asp.net应用程序的新手,在我的项目中,我在表内使用日历控件.当我放置此控件时,我的表单对齐会出错.我需要一些应用程序进入设计的前面,而又不影响我的整个设计.


请找到所附的快照

hello,

i am new in asp.net application, in my project i am using calender control inside tables. when i am placing this control my form alignment is going wrong. i need some application to go in front of the design without effecting my entire design.


please find the attached snapshot

推荐答案

1.尽量不要使用表格.使用固定宽度,彼此相对位置和浮动属性的DIV.

2.如果不能使用DIV,则检查包含日历控件的TD是否具有正确的colspan/rowspan值.按F12键查看该页面的DOM检查器,然后一点一点地编辑并刷新以查看哪个元素引起了问题.
1. try not to use tables. Use DIVs with fixed width, relative position to each other and float properties.

2. If you can''t use DIVs then check that the TD that contains the calendar control has the correct colspan/rowspan value. Press F12 to see the DOM inspector for that page and edit bit by bit and refresh to see which element is causing issues.


这篇关于使用控件时出现表格对齐问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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