# Max-width: 100% not working

**URL:** <https://forum.freecodecamp.org/t/max-width-100-not-working/570974>\
**Category:** Curriculum Help\
**Tags:** html, css\
**Created:** [November 13, 2022, 6:05pm UTC](https://forum.freecodecamp.org/t/max-width-100-not-working/570974 "2022-11-13T18:05:30Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![hbar1st](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/hbar1st/32/372649_2.png) [@hbar1st](https://forum.freecodecamp.org/u/hbar1st)\
**Post date:** [November 13, 2022, 6:36pm UTC](https://forum.freecodecamp.org/t/max-width-100-not-working/570974/4 "2022-11-13T18:36:37Z")

</div>

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (`</>`) to add backticks around text.

 ![Pre-formatted-text](https://global.discourse-cdn.com/freecodecamp/original/3X/1/b/1b18854f1059217f29370444396145cc3a0cd8ae.gif)

See [this post](https://forum.freecodecamp.org/t/forum-code-formatting/25574) to find the backtick on your keyboard.  
**Note:** Backticks (`) are not single quotes (').

---

_[View the full topic](https://forum.freecodecamp.org/t/max-width-100-not-working/570974)._
