<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>html fixed header Archives -</title>
	<atom:link href="https://mitindia.in/tag/html-fixed-header/feed/" rel="self" type="application/rss+xml" />
	<link>https://mitindia.in/tag/html-fixed-header/</link>
	<description></description>
	<lastBuildDate>Wed, 18 Jan 2017 11:38:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://mitindia.in/wp-content/uploads/2023/03/cropped-android-chrome-512x512-1-32x32.png</url>
	<title>html fixed header Archives -</title>
	<link>https://mitindia.in/tag/html-fixed-header/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>fixed top bar using html</title>
		<link>https://mitindia.in/fixed-top-bar-using-html/</link>
		
		<dc:creator><![CDATA[SKB]]></dc:creator>
		<pubDate>Tue, 17 Jan 2017 10:17:59 +0000</pubDate>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[html fixed header]]></category>
		<guid isPermaLink="false">http://www.mitindia.in/?p=718</guid>

					<description><![CDATA[<p>Fixed header in html Fixed header menu or top bar using html is an essential in most of the modern web pages are concerned. To fix this header  menu bar constant at particular location, implement the following css code in your html program. &#60;meta name="viewport" content="width=device-width, initial-scale=1.0"&#62; &#60;html&#62; &#60;head&#62; &#60;style&#62; #menu1 { position: fixed; background-color:cyan; [&#8230;]</p>
<p>The post <a href="https://mitindia.in/fixed-top-bar-using-html/">fixed top bar using html</a> appeared first on <a href="https://mitindia.in"></a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Fixed header in html</h2>
<hr />
<p><strong>Fixed header menu or top bar using html is an essential in most of the modern web pages are concerned. </strong></p>
<p><strong>To fix this header  menu bar constant at particular location, implement the following css code in your html program.</strong></p>
<pre>&lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
&lt;html&gt;
&lt;head&gt;
&lt;style&gt;
#menu1 {
 position: fixed;
background-color:cyan;
 right: 0;
 top: 50%;
 width: 15%;
}

#menu2 {
 position: fixed;
background-color:yellow;
 left: 0;
 margin-top: -8;
 width: 45%;
border-radius: 10px 10px 10px 10px;
}

#menu2:hover 
{
background-color: red
}

h1{right:0; margin-top:-8; position:fixed; background-color:cyan; width: 520px; height: 60px;}
h1:hover{background-color:yellow;}
&lt;/style&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;h1 align=right&gt;:: Fixed menu demo with CSS :: &lt;/h1&gt;
&lt;ul id=menu1&gt;
&lt;li&gt;&lt;a href="#solid"&gt;Solid&lt;/a&gt;
&lt;li&gt;&lt;a href="#web"&gt;Web&lt;/a&gt;
&lt;li&gt;&lt;a href="#java"&gt;Java&lt;/a&gt;
&lt;/ul&gt;

&lt;ul id=menu2&gt;
&lt;li&gt;&lt;a href="#solid"&gt;Solid&lt;/a&gt;
&lt;li&gt;&lt;a href="#web"&gt;Web&lt;/a&gt;
&lt;li&gt;&lt;a href="#java"&gt;Java&lt;/a&gt;
&lt;/ul&gt;

&lt;a name=solid&gt;&lt;img src="d:\solid.jpg"&gt;&lt;/a&gt; &lt;br&gt;
&lt;a name=web&gt;&lt;img src="d:\web-design.jpg"&gt;&lt;/a&gt; &lt;br&gt;
&lt;img src="d:\bing.jpg"&gt;
&lt;a name=java&gt;&lt;img src="d:\java-logo.jpg"&gt; &lt;/a&gt; &lt;br&gt;
&lt;hr&gt;

&lt;/body&gt;
&lt;/html&gt;</pre>
<blockquote> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- mylink -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-1696390399604457"
     data-ad-slot="7690934410"
     data-ad-format="link"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<p><span style="color: #ff0000;"><strong>View Port</strong></span><em><strong> : Page accommodates any screen size like PC/Tab/Mobile phone etc.</strong></em></p></blockquote>
<p><span style="color: #99cc00;"><strong>Output:</strong></span></p>
<p><img decoding="async" class="alignnone size-medium wp-image-719" src="http://www.mitindia.in/wp-content/uploads/2017/01/fixed_header-300x126.png" alt="fixed header in html" width="300" height="126" srcset="https://mitindia.in/wp-content/uploads/2017/01/fixed_header-300x126.png 300w, https://mitindia.in/wp-content/uploads/2017/01/fixed_header-768x323.png 768w, https://mitindia.in/wp-content/uploads/2017/01/fixed_header-400x168.png 400w, https://mitindia.in/wp-content/uploads/2017/01/fixed_header.png 826w" sizes="(max-width: 300px) 100vw, 300px" /></p>
<p style="text-align: right;"><a href="http://www.mitindia.in/category/html/" target="_blank">for other HTML programs, Click here</a></p>
<p>&nbsp;</p>
<p><a class="a2a_button_whatsapp" href="https://www.addtoany.com/add_to/whatsapp?linkurl=https%3A%2F%2Fmitindia.in%2Ffixed-top-bar-using-html%2F&amp;linkname=fixed%20top%20bar%20using%20html" title="WhatsApp" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fmitindia.in%2Ffixed-top-bar-using-html%2F&amp;linkname=fixed%20top%20bar%20using%20html" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fmitindia.in%2Ffixed-top-bar-using-html%2F&#038;title=fixed%20top%20bar%20using%20html" data-a2a-url="https://mitindia.in/fixed-top-bar-using-html/" data-a2a-title="fixed top bar using html"><img src="https://static.addtoany.com/buttons/favicon.png" alt="Share"></a></p><p>The post <a href="https://mitindia.in/fixed-top-bar-using-html/">fixed top bar using html</a> appeared first on <a href="https://mitindia.in"></a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
