我正在为我的iPad制作一个引导程序网站。当我的iPad正确时,h1
被切断了一半。
我可以改变或做些什么来阻止这种情况吗?
不介意导航栏显示h1
并处于崩溃模式,就像在移动设备上一样。
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>TEST SITE </title>
<link rel="shortcut icon" href="scicon.gif"/>
<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
</head>
<body>
<nav class="navbar navbar-default navbar-inverse navbar-fixed-top" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://www.google.com/">This is google</a>
</div>
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="index.php"><font color="">Home</font></a>
</li>
<li><a href="index.php?BookA"><font color="">Book In</font></a>
</li>
<li><a href="index.php?Measu;Update"><font color="">Measure & Update</font></a>
</li>
<li><a href="index.php?Views"><font color="">Filter/Search</font></a>
</font>
</li>
<li><a href="index.php?Toolbar"><font color="">Tools</font></a>
</li>
<li><a href="index.php?Load"><font color="">Co-Load LoadList</font></a>
</li>
<li><a href="index.php?S_Check"><font color="">Stock Check</font></a>
</li>
</ul>
</div>
</div>
</nav>
<!-- /.navbar -->
<div id="top" class="jumbotron">
<div class="container">
</br>
<div class="h1s">
<h1>GRN System</h1>
</div>
答案 0 :(得分:1)
我看到有两种方法可以做到。
1)先前触发汉堡包菜单 2)调整菜单上的左右填充:
app.factory("MyService", function ($resource, ENV, _) {
return {
testCall: $resource(ENV.apiEndpoint + "/test-call", {}, {
launch: {
method: 'POST',
isArray: false,
headers:{'Accept':'application/octet-stream'},
responseType: 'blob',
cache: false,
transformResponse: function(data, headers){
var filename = headers('Content-Disposition'); //headers('FileName')
var contentType = headers('Content-Type');
var file = new Blob([data], {
type: contentType
});
var fileURL = URL.createObjectURL(file);
var a = document.createElement('a');
a.href = fileURL;
a.target = '_blank';
a.download = filename;
document.body.appendChild(a);
a.click();
}
}
}),
searchOptions: $resource(ENV.apiEndpoint + "//search-options")
};
});
我已经多次这样做了#34; fit&#34;客户想要的顶级菜单项。如果你执行后者,你可以通过LESS文件中的变量全局完成。