Fix typo in CSS code block under "Changes to the existing CSS"
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 95/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- css, markdown
- Domain
- documentation
Research direction
Open files/en-us/learn_web_development/core/css_layout/practical_positioning_examples/index.md and find the "Changes to the existing CSS" section. Compare the prose with the code block, remove the outdated margin: 0 auto; line, and verify that the example matches the documented CSS changes.
Written by the indexing model from the issue text.
Description
MDN URL
What specific section or headline is this issue about?
#Changes to the existing CSS
What information was incorrect, unhelpful, or incomplete?
"Next we need to make some small changes to the existing CSS, to get the info-box placed and positioned. Change your .info-box rule to get rid of margin: 0 auto; (we no longer want the info-box centered), add position: fixed;, and stick it to the top of the browser viewport."
However, in the example code block right below this description, margin: 0 auto; was not removed:
What did you expect to see?
An example code block with the margin: 0 auto; rule removed:
.info-box {
width: 452px;
height: 400px;
position: fixed;
top: 0;
}
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
- Folder:
en-us/learn_web_development/core/css_layout/practical_positioning_examples - MDN URL: https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/CSS_layout/Practical_positioning_examples
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/learn_web_development/core/css_layout/practical_positioning_examples/index.md
- Last commit: https://github.com/mdn/content/commit/886f2641ae90a70858c5e7d0d20959c70ee44d9d
- Document last modified: 2025-08-20T01:23:27.000Z
- Dominant language
- Markdown
- Stars
- 11k
- Forks
- 23.3k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 311
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mdn/content
-
accepting PR Content:WebAPI
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
area: WebAuthn Content:WebAPI
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Content:WebExt
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Content:HTML needs info
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Content:WebExt needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Similar issues
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Ecosystem: ClawMetry — the Qwen Code reader is now free and open source (follow-up to #9294 / #9338) Opencategory/integration priority/P3 scope/documentation status/ready-for-human type/feature-request
Difficulty 1/5 Under an hour Newbie friendliness 84/100