链接按钮两行显示 [英] Link Button Displaying in two lines

查看:112
本文介绍了链接按钮两行显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在页脚上方的一行中有4个链接"按钮,在我的开发机中,通过VS Debugger运行该按钮很好.但是在iis上部署后,当我通过URL访问它时,3Link-按钮将显示在一行中,而第4个link-按钮将显示在下一行中.
如何解决此问题?

Hi,
I have 4 Link-buttons in one line above the footer, In my developing machine when i run it through VS Debugger it is fine. But after deployment on iis when i access it through a URL the 3Link-buttons are displaying in one line and the 4th link-button in next line.
How to fix this problem?

推荐答案

听起来像设计问题.确保正确设计了HTML.您始终可以使用IEDeveloper之类的工具来检查浏览器中的内容.

此外,请确保已为它们提供了适当的显示空间.使用百分比将取决于屏幕大小和浏览器窗口大小.使用固定会避免这种情况,但会给滚动带来痛苦.因此,请遵循适当的标准,对其进行设计,以免遇到问题.
Sounds like design issue. Make sure that the HTML is properly designed. You can always use tools like IEDeveloper to check the content in the browser.

Further, make sure that you have provided proper space to them to be displayed. Using percentage will depend on the screen size and the browser window size. Using fixed will avoid it but can give scroll pain. So, follow proper standards, design it such that you don''t face issues.


使用4< td>并将所有链接按钮放在每个td中
use 4 <td> and place all the link buttons in each td
<tr>
<td>button1</td>
<td>button2</td>
<td>button3</td>
<td>button4</td>
</tr>


检查宽度,它不应超过链接按钮的父容器的宽度
check the width, It should not go beyond the width of the parent container for link button


这篇关于链接按钮两行显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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