按钮内的文字无法移动

时间:2016-12-18 16:36:11

标签: html css

我在同一行有一个按钮的视频 https://i.stack.imgur.com/Ts5bQ.png

按钮太低,所以我输入style="line-height:60px;text-align:center;"将其向上移动,但按钮内的文字没有移动

<span style="padding-right:60px;">
        <input id="text" type="button" value="Text" onClick= "a()" class="defaut_button" style="line-height:60px;text-align:center;">
    </span>
    <span>
        <video controls="controls" tabindex="0" width="800">
            <source src="video.mp4" type="video/mp4" width="80%" height="20%">
        </video>
    </span>

0 个答案:

没有答案
相关问题