gpt4 book ai didi

html - 上传按钮未按预期显示,填充/边距无效

转载 作者:行者123 更新时间:2023-11-28 05:08:24 24 4
gpt4 key购买 nike

我一直在学习教程,但是填充/边距无效,文件上传图标也没有显示。你能看看并提出解决方案吗?

我从这里获取了文件上传脚本和示例:http://markusslima.github.io/bootstrap-filestyle/

http://codepen.io/monajalal/pen/GjmQzv

<!DOCTYPE html>
<html lang="en">

<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.4/css/bootstrap.min.css" integrity="sha384-2hfp1SzUoho7/TsGGGDaFdsuuDL0LX2hnUp6VkX3CUQ2K4K+xjboZdsXyp4oUHZj" crossorigin="anonymous">
<script type="text/javascript" src="js/bootstrap-filestyle.min.js"> </script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.4/js/bootstrap.min.js" integrity="sha384-VjEeINv9OSwtWFLAtmc4JCtEJXXBub00gtSnszmspDLCtC0I4z4nqz7rEFbIZLLU" crossorigin="anonymous"></script>

</head>

<body>

<div class="container">
<form action="upload.php" method="post" enctype="multipart/form-data">
<div class="container-fluid m-t-10">
<div class="row-fluid m-t-10">
<div class="col-md-4 m-b-5">
m: <input type="text" name="m"><br>
</div>
<div class="col-md-4 m-b-5">
sigma: <input type="text" name="sigma"><br>
</div>
<div class="col-md-4 p-a-5">
gamma: <input type="text" name="gamma"><br>
</div>
</div>
</div>
<div class="container-fluid m-t-20">
<div class="row-fluid">
<div class="col-md-4 p-a-5">
threshold: <input type="text" name="thres"><br>
</div>
<div class="col-md-4 p-a-5">
nei: <input type="text" name="nei"><br>
</div>
</div>
</div>
<div class="container-fluid m-t-30">
<div class="row-fluid">
Select the XLS file to upload
<div class="col-md-4 p-a-5">
<input type="file" class="filestyle" name="fileToUpload" id="fileToUpload" data-input="false">

</div>
<div class="col-md-4 p-a-5">
<input type="submit" class="btn btn-primary" value="Upload File" name="submit">
</div>
</div>
</div>

</form>
</div>

</body>
</html>

我还尝试了一个带有 glyphicon 的 Bootstrap 上传按钮来上传文件。那也没用。

最佳答案

您好,我尝试用 chrome 打开,我确实看到了上传按钮,一切似乎都正常。

enter image description here

关于html - 上传按钮未按预期显示,填充/边距无效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39713803/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com