Skip to content

fix(content-section): missing iframe styling#1414

Open
dharam wants to merge 11 commits intomdn:mainfrom
dharam:main
Open

fix(content-section): missing iframe styling#1414
dharam wants to merge 11 commits intomdn:mainfrom
dharam:main

Conversation

@dharam
Copy link
Copy Markdown

@dharam dharam commented Mar 23, 2026

Description

The issue was for an unstyled iframe border. I have added styles for the "iframe" tag under a parent content container.

Motivation

This added style in server.css addes minimal styles to have consistent styling for iframes with respect to other container elements on the page. The original issue that was reported expected uniform styling as the goal and this MR achieves it.

Additional details

Here are the slugs of all the pages that had unstyled iframes contributing to the unoptimal user experience and have been fixed.
/Related/IMSC
/MDN/Writing_guidelines/Page_structures/Code_examples
/Related/IMSC/Basics
/Related/IMSC/Styling
/Related/IMSC/Subtitle_placement
/Related/IMSC/Using_the_imscJS_polyfill
/Web/API/CSS_Painting_API/Guide
/Web/API/ManagedMediaSource
/Web/API/Web_components/Using_shadow_DOM
/Web/API/WebGL_API/Tutorial/Adding_2D_content_to_a_WebGL_context
/Web/API/WebGL_API/Tutorial/Animating_objects_with_WebGL
/Web/API/WebGL_API/Tutorial/Animating_textures_in_WebGL
/Web/API/WebGL_API/Tutorial/Creating_3D_objects_using_WebGL
/Web/API/WebGL_API/Tutorial/Getting_started_with_WebGL
/Web/API/WebGL_API/Tutorial/Lighting_in_WebGL
/Web/API/WebGL_API/Tutorial/Using_shaders_to_apply_color_in_WebGL
/Web/API/WebGL_API/Tutorial/Using_textures_in_WebGL
/Web/CSS/Guides/Backgrounds_and_borders/Border-image_generator
/Web/CSS/Guides/Backgrounds_and_borders/Border-radius_generator
/Web/CSS/Guides/Backgrounds_and_borders/Box-shadow_generator
/Web/CSS/Guides/Colors
/Web/CSS/Reference/Values/color_value/color-mix
/Web/HTML/Reference/Elements/template
/Web/Media/Guides/Audio_and_video_manipulation

Screenshot 2026-03-23 131337

Related issues and pull requests

🔨 #1353

dharam added 2 commits March 23, 2026 15:38
Fixes the iframe border issue by adding a style to server.css
Fixes mdn#1353 iframe has a thick default border (missing styling)
@dharam dharam requested a review from a team as a code owner March 23, 2026 23:02
@dharam dharam requested a review from caugner March 23, 2026 23:02
@dharam
Copy link
Copy Markdown
Author

dharam commented Apr 2, 2026

hi @caugner, just wanted to draw your attention to ask if this PR can be reviewed please?

@LeoMcA LeoMcA changed the title Fixes #1353 iframe has a thick default border (missing styling) fix(content-section): missing iframe styling Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants