Browser: Chrome 110 OS: macOS / Windows / Linux / etc. URL: Link to a page that illustrates this issue Video: Short screen recording that illustrates this issue (free tool: jam.dev)
Hey, I’m using figure and I didn’t like its default style, as the picture shown here:
Here’s the issue: when I inspect the tag on the frontend, I found that the <figcaption> is not included in the <figure> area**. Instead, in DevTools it appears visually placed in the <li> area:
However, if I manually create a <figure> by dragging an Image element and a Basic Text element, then changing their HTML tags to <figure> and <figcaption> in the editor, it works fine — the <figcaption> is contained inside <figure> as expected:
I am confused. In all of your screenshots I see the figcaption being a child of the figure. Am I misunderstanding something here? Maybe it’s just too early…
I have Cssed the figcaption position static!important, and the figcaption should have normally occupied space in the normal document flow cause its displayed block.
the explanation still confuses me. But I think I know what your issue is. It’s not about the figcaptions placement but an “issue” regarding the new layering system.
To statically position the captions use the following CSS:
Yes, somewhat misleadingly expressed. However, this is also a potential solution:
We know that changing the figcaptions is currently (despite layer - thanks to important :D) very complicated and already have a task to improve this in the future.