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

Home Forums CSS Problem with height of a tag in which I use background-image URL()

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #238391


    Everything works fine except the height of the tag does not scale. The image scales alright but the tag does not. I used the background-image URL() and set my height to 200 pixels so the image would show properly. It does and it scales too. However, I set the background-color to purple when setting up so I see what is happening in the tag. The color purple shows up as the image is scaled down.

    I guess what I am asking is: How can I get tag to scale down too.

    The above URL shows my markup and the view of what is happening as it scales down (purple shows up). This being the last tag in body I could just set up the color to be white. But what happens if the tag is put up higher in the DOM?

    Thanks for any help.


    Please read the tips on the site of this page. Would you be able to answer this question if someone else posted it? Help us help you and show something verifiable.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.