如何删除控件之间的空格..? [英] how to remove spaces between controls..?

查看:77
本文介绍了如何删除控件之间的空格..?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi..am 4个下拉菜单...第一一个和第四一个总是visible.but第二和第三一种是在d页面加载无形...该宏将会b可见当一个特定的下拉值是selected.2nd和第三位放在黑白的第一和第四位.我的问题是在页面加载时,第一和第四位之间有一些空闲空间. .?希望您了解我的问题..pls为我提供一些帮助.

hi..am using 4 dropdowns...1st one and 4th one is always visible.but 2nd and 3rd one is invisible in d page load...it wil b visible when a particular dropdown value is selected.2nd and 3rd one is placed in b/w 1st and 4th.my problem is that at page load,there is some vacant spaces in between 1st one and 4th one..how can i manage that so that it wil appear without such blank spaces...? hope u understand what my prob is..pls provide me some help.

推荐答案

这是布局问题.为了实现它,您需要阅读一些CSS和UI设计并具有相关知识. UI必须采用流程"形式.

暂时可以选择:
而不是使其不可见,请显示它们但将其禁用.一旦您需要在那时显示它们,请启用它们.
This is a layout issue. You need to read and have knowledge on CSS and UI designing a little in order to achieve it. UI needs to be in ''Flow'' form.

For time being, an alternative:
Instead of making it invisible, show them but disable them. Once you need to show them at that time enable them.


您好,

将所有控件放在带有单独TD标签的单个TR标签中:).
如果问题仍然存在,请尝试将所有控件放在单个TD标签中:laugh:
Hi,

Place all the controls in single TR tag with seperate TD tags :) .
If the problem repeats then try to place all the controls in single TD tag :laugh:


将所有控件放在单独的"td"中,请确保不要放置任何控件该tds中的边距或填充.
现在,使该td可见/不可见,而不是使控件可见/不可见.
试试吧.
希望对您有所帮助. :)
Make all controls in separate ''td''s, make sure you don''t put any margin or padding in that tds.
Now instead of making control visible/invisible make that td visible/invisible.
Try it.
Hope this help. :)


这篇关于如何删除控件之间的空格..?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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