Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to move background-image code from .css file to .html file? Reply To: How to move background-image code from .css file to .html file?

#238267
Shikkediel
Participant

With the second pen you’re setting the image on the parent div which has no height because of absolute positioning (so nothing there to show the background)…