我的 PHP 生成的网页有一个“选择栏”包含三个输入条目:一个是按钮,两个是提交。
<tr>
<td>
<input type="on" onclick="toggleinstructions();" id="btnInstructions" value="Show Instructions">
<td>
<input type="hidden" name="formshowallorfuture" value="<?php echo $showallorfuture;?>"/>
<?php if ($showallorfuture == 'A') {
?>
<input type="submit" onclick="return arethereunsavedchanges('masterchangeflag')" name="showfuturerounds" value="Show Future Rounds"> </td>
<?php
}
else {
?>
<input type="submit" onclick="return arethereunsavedchanges('masterchangeflag')" name="showallrounds" value="Show All Rounds"> </td>
<?php
}
?>
<td align="right">
<input type="submit" id="save" name="save" value="Save Changes">
</td>
</tr>
css 包含以下样式:
input[type=on] {
font-size: 17px;
font-weight: bold;
background-color: white !important;
}
input[type=submit] {
font-size: 17px;
font-weight: bold;
vertical-align: middle;
background-color: white !important;
}
在运行 ios 12.5.5 的旧 iPad 上,一切都显示正确。按钮和提交的边框和字体颜色是黑色的。但是,在运行 ios 15.3.1 的较新 iPad 上,两个提交按钮的值没有显示。此外,所有按钮和提交边框都是蓝色的,按钮的字体颜色也是蓝色的。
有没有人有任何想法,为什么?
非常感谢。
安德烈.
本站系公益性非盈利分享网址,本文来自用户投稿,不代表边看边学立场,如若转载,请注明出处
评论列表(10条)