KKitForma.

Language

EnglishEnglishTürkçeTurkishTool unavailable · open catalogDeutschGermanTool unavailable · open catalogEspañolSpanishTool unavailable · open catalogFrançaisFrenchTool unavailable · open catalogPortuguêsPortugueseTool unavailable · open catalogItalianoItalianTool unavailable · open catalogNederlandsDutchTool unavailable · open catalogPolskiPolishTool unavailable · open catalogРусскийRussianTool unavailable · open catalogУкраїнськаUkrainianTool unavailable · open catalogSvenskaSwedishTool unavailable · open catalogNorskNorwegianTool unavailable · open catalogDanskDanishTool unavailable · open catalogSuomiFinnishTool unavailable · open catalogČeštinaCzechTool unavailable · open catalogRomânăRomanianTool unavailable · open catalogΕλληνικάGreekTool unavailable · open catalogالعربيةArabicTool unavailable · open catalogעבריתHebrewTool unavailable · open catalogفارسیPersianTool unavailable · open catalogاردوUrduTool unavailable · open catalogहिन्दीHindiTool unavailable · open catalogবাংলাBengaliTool unavailable · open catalogதமிழ்TamilTool unavailable · open catalogతెలుగుTeluguTool unavailable · open catalogमराठीMarathiTool unavailable · open catalogગુજરાતીGujaratiTool unavailable · open catalog简体中文Chinese SimplifiedTool unavailable · open catalog繁體中文Chinese TraditionalTool unavailable · open catalog日本語JapaneseTool unavailable · open catalog한국어KoreanTool unavailable · open catalogTiếng ViệtVietnameseTool unavailable · open catalogไทยThaiTool unavailable · open catalogBahasa IndonesiaIndonesianTool unavailable · open catalogBahasa MelayuMalayTool unavailable · open catalogFilipinoFilipinoTool unavailable · open catalogKiswahiliSwahiliTool unavailable · open catalogAfrikaansAfrikaansTool unavailable · open catalogMagyarHungarianTool unavailable · open catalogБългарскиBulgarianTool unavailable · open catalogHrvatskiCroatianTool unavailable · open catalogSrpskiSerbianTool unavailable · open catalogSlovenčinaSlovakTool unavailable · open catalogSlovenščinaSlovenianTool unavailable · open catalogLietuviųLithuanianTool unavailable · open catalogLatviešuLatvianTool unavailable · open catalogEestiEstonianTool unavailable · open catalogCatalàCatalanTool unavailable · open catalogEuskaraBasqueTool unavailable · open catalog
← All topics and search

HTML, CSS & accessibility

Layouts, forms, browser behavior and accessible interface troubleshooting.

112 troubleshooting guides · Page 2 / 5

  1. How do I stop keyboard focus entering content behind a custom overlay?

    Use inert on the background region while the overlay is active, and remove it when closing.

  2. How do I prevent rich HTML from being pasted into a plain-text editor?

    Use a textarea when a conventional text editor is sufficient.

  3. Why does a sandboxed iframe display a form but refuse to submit it?

    The sandbox starts with restrictions; form submission needs the corresponding allow-forms token.

  4. Why does an offscreen lazy iframe still load immediately in my test?

    Lazy loading is a browser optimization hint, not a strict network scheduling contract.

  5. Why is an external download link navigating instead of saving the file?

    The download attribute is not a universal cross-origin download override.

  6. How do I open a new tab while preventing access to the opener window?

    For an intentional new-tab link, use target="_blank" with rel="noopener" explicitly when you need that contract.

  7. Why does content jump when responsive images finish loading?

    Provide intrinsic width and height so the browser can reserve the aspect ratio, then use CSS such as max-width:100% and height:auto for responsive sizing.

  8. Why does the browser download an oversized responsive image despite srcset?

    For width-descriptor srcset, sizes tells the browser the expected rendered width.

  9. Why is the page’s hero image delayed even though it is visible immediately?

    Do not lazily load a critical above-the-fold image.

  10. Why does an inline SVG crop when resized with CSS?

    Check the SVG viewBox against the artwork’s coordinate bounds.

  11. Why does an async script run before the library it depends on?

    Async scripts execute when each download is ready, without preserving document order.

  12. Why does a module script fail when I open the HTML file directly from disk?

    Module loading uses origin and fetch rules that differ from a simple classic local script.

  13. Why does a mobile page render at desktop width despite responsive CSS?

    Include a viewport declaration such as width=device-width, initial-scale=1 in the document head, then check for fixed-width elements that still overflow.

  14. Why does a long RTL filename force a flex row wider than its container?

    A flex item’s automatic minimum size can resist shrinking around unbroken content.

  15. Why does a nested flex-column panel expand instead of scrolling?

    The flexible child may keep its automatic minimum block size.

  16. Why does a long code block blow out a two-column CSS grid?

    A bare 1fr track can retain a content-based minimum.

  17. Why does position:sticky stop working after a parent gets overflow:hidden?

    Sticky positioning is tied to its nearest ancestor with a scrolling mechanism, which may be an overflow ancestor you did not intend.

  18. Why does a sticky sidebar in a grid never move?

    A stretched grid or flex item can become as tall as its containing area, leaving no sticky travel distance.

  19. Why does z-index:999999 fail to put a tooltip above another section?

    z-index is evaluated within stacking contexts.

  20. Why does a fixed toolbar scroll with a transformed card?

    A transform on an ancestor can establish the containing block for fixed-position descendants.

  21. Why does overflow-x:hidden unexpectedly make the vertical axis scrollable?

    The two overflow axes interact when their specified values are combined.

  22. Why does a 100%-wide input overflow after padding is added?

    With content-box, width describes the content box and padding/border add to it.

  23. Why does width:100vw create horizontal scrolling on a desktop page?

    Viewport units can include width allocated to a scrollbar, while the content area is narrower.

  24. Why does a 100vh mobile panel hide its bottom button behind browser chrome?

    Mobile viewport sizes change with browser UI.

Ask your own question · Sign in to post questions and answers.