1. Howdy! Welcome to our community of more than 125.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
    Dismiss Notice
  2. Add your web host to our brand new web hosting directory (beta).
    Dismiss Notice

How to resize the image in order to fit the parent div

Discussion in 'Webdesign / HTML' started by Brent Clark, Jun 19, 2017.

  1. Brent Clark

    Brent Clark New Member

    Hi. I want to ask about resize image. I use image by before pseudo
    h2::before {
    content: url("image.png")
    }
    But the image is bigger than its parent div tag. And if i use the
    overflow:auto;
    then a scrollbar appears
    I tried resize image by using width and height but nothing happens.
     

Share This Page