# Discuss about the \<header\>

**URL:** <https://forum.freecodecamp.org/t/discuss-about-the-header/10876>\
**Category:** I Built This\
**Created:** [June 14, 2016, 12:12pm UTC](https://forum.freecodecamp.org/t/discuss-about-the-header/10876 "2016-06-14T12:12:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![santhoshnv](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/santhoshnv/32/73043_2.png) [@santhoshnv](https://forum.freecodecamp.org/u/santhoshnv)\
**Post date:** [June 14, 2016, 12:12pm UTC](https://forum.freecodecamp.org/t/discuss-about-the-header/10876/1 "2016-06-14T12:12:55Z")

</div>

How to fix the tag content in same position while scrolling the content

---

<div class="post-metadata">

**Author:** ![PortableStick](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/portablestick/32/65591_2.png) [@PortableStick](https://forum.freecodecamp.org/u/PortableStick)\
**Post date:** [June 15, 2016, 2:15pm UTC](https://forum.freecodecamp.org/t/discuss-about-the-header/10876/2 "2016-06-15T14:15:50Z")

</div>

So you want your navbar to be at the top of your screen no matter where you scroll? Bootstrap has a solution for this: [http://getbootstrap.com/components/#navbar-fixed-top](http://getbootstrap.com/components/#navbar-fixed-top)

---

<div class="post-metadata">

**Author:** ![dmk1111](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/dmk1111/32/6134_2.png) [@dmk1111](https://forum.freecodecamp.org/u/dmk1111)\
**Post date:** [June 19, 2016, 7:01am UTC](https://forum.freecodecamp.org/t/discuss-about-the-header/10876/3 "2016-06-19T07:01:19Z")

</div>

Hey! Don’t know if you still need this, but anyway. Just add `position:fixed;` to your stylesheet, and don’t forget about `z-index:999999` value if you don’t want to loose your content under something else

---

<div class="post-metadata">

**Author:** ![santhoshnv](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/santhoshnv/32/73043_2.png) [@santhoshnv](https://forum.freecodecamp.org/u/santhoshnv)\
**Post date:** [July 2, 2016, 5:55pm UTC](https://forum.freecodecamp.org/t/discuss-about-the-header/10876/4 "2016-07-02T17:55:20Z")

</div>

Thank you so much:slight\_smile:

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 6:11pm UTC](https://forum.freecodecamp.org/t/discuss-about-the-header/10876/5 "2021-06-01T18:11:28Z")

</div>

Closed on June 1, 2021, 6:11pm UTC


