使用html定位按钮 [英] Locating Button using html

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

问题描述

亲爱的所有人,

我在网页的左侧还有td< html>中有一个名为下一步"的按钮.但是我想将同一按钮向右移或移到我想移到的任何位置.而且我也想要单独的按钮,而不是td(即表格数据)中的按钮.

这是我的代码:

Dear All,

I have a button called "Next" on the web page which is located at left and also in td <html>. But I want to shift the same button to right or wherever I want to. And also I want that button separately, not in the td(i.e.,table data).

Here''s my code:

<td style="background-color:#edf5ff;" valign="top">
    <asp:Button ID="Next3" runat="server" CssClass="Button"
        OnClientClick="javascript:return ValidateAccept();" 
        OnClick="Next3_Click" Enabled="true"
        Text="Next" TabIndex="20" Width="70px" Style="z-index: 110;" /> 
</td>



我需要尽快完成此任务.
任何帮助或建议都非常可取.


问候,

Raj



I need to finish this task asap.
Any help or suggestion greatly appreciable.


Regards,

Raj

推荐答案

我确信使用CSS可以帮助您定位页面控件.还将消除使用表格进行定位的需要
I''m sure utilising CSS will assist you in positioning your page controls. It will also eradicate the need to use tables for positioning


您似乎正在使用
在按钮上添加一些样式
CssClass ="Button"

找到样式的定义位置并添加一些位置标记,例如padding-left等.
You seem to be putting some styling on the button using

CssClass="Button"

Find where the styles are being defined and add some postioning tags, i.e. padding-left etc.


这篇关于使用html定位按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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