Я создал страницу с заголовком, которая остается там, где она есть, даже если я прокручиваю страницу.
Проблема заключается в том, что когда я нахожу слово на основе браузера, нажимая Ctrl + F, и пытаюсь найти что-то на моей веб-странице, поиск идет за заголовком заголовка. И у меня есть прокрутка вниз, чтобы увидеть искомую работу (которая подсвечивается для той части, которую просматривал браузер).
Я заметил, что gmail также имеет заголовок, который также остается неподвижным при прокрутке страницы, и они справляются с этой проблемой "найти".
Любые предложения о том, как я могу это исправить.
Предоставление примера источника моей страницы ниже:
<html>
<head>
<style>
#masthead {
background-color: #131623;
border-bottom: 4px solid #FFFFFF;
border-top: 0 none;
left: 0;
min-width: 980px;
position: fixed;
top: 0;
width: 100%;
}
#masthead {
border-bottom: 0 none;
border-top: 4px solid #171A23;
left: 0;
min-width: 980px;
position: fixed;
top: 0;
width: 100%;
z-index: 900;
}
#masthead {
border-bottom: medium none;
border-top: 0 none;
box-shadow: none;
overflow: visible;
position: fixed;
}
#masthead {
background-color: #131623;
border-bottom: 4px solid #FFFFFF;
border-top: 1px solid #666666;
left: 0;
min-width: 980px;
position: fixed;
top: 0;
width: 100%;
z-index: 900;
}
div, p, span, a, li, strong {
font-family: Arial,sans-serif;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, li, fieldset, form, label, legend {
border: 0 none;
font-size: inherit;
margin: 0;
outline: 0 none;
padding: 0;
vertical-align: baseline;
}
</style>
</head>
<body>
<div id="masthead">
<div id="universal-nav" style="height:40px; background-color:#eaeaea;" >
</div>
<div class="menu-subtabs" style="height:30px; background-color:#fafafa;"">
<h2>SalesOne</h2>
</div>
</div>
</br></br></br></br></br>
<table border="0" summary="Content Block">
<tr>
<td>
<p xmlns="">
<a href="#Win">Win Summary</a>
<br/>
<a href="#Client">Client</a>
<br/>
<a href="#Overview">Project Overview</a>
<br/>
</p>
<p xmlns="" id="Win">
<strong>
<font color="#008000">Win Summary</font>
</strong>
</p>
<p xmlns="">
Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.</p>
<p xmlns="" id="Client">
<font color="#008000">
<strong>Customer</strong>
</font>
</p>
<p xmlns="">
<a href="#" onclick="location.href='http://www.yara.com/'; return false;">Yara International ASA</a>Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.Located in Norway, Yara International ASA is the world™s leading chemical company that converts energy, natural minerals and nitrogen from the air into essential products for farmers and industrial customers. Through their environmental and industrial products, they help safeguard air and water quality and preserve food quality.
</p>
<p xmlns="" id="Overview">
<strong>
<font color="#008000">Project Overview</font>
</strong>
</p>
<p xmlns="">
ITS Enterprise Services - security services will provide hosted and managed services as part of SO project for data center hosting and management. The security components include:</p>
</td>
</tr>
</table>
</body>
</html>
</html>
Спасибо заранее, Zeeshan