Skip to content
Discussion options

You must be logged in to vote

Image is an Inline element, while Div is a Block element. You can't replace an Inline with a Block; the types don't match. (I'm not sure why this precise error message was produced, though. @tarleb may be able to clarify.)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@jgm
Comment options

jgm Dec 10, 2025
Maintainer

@l1mey112
Comment options

@jgm
Comment options

jgm Dec 10, 2025
Maintainer

@tarleb
Comment options

tarleb Dec 10, 2025
Collaborator

Answer selected by l1mey112
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants