Is there a way to get rid of the box that occurs when you set the div style in HTml?

Asked 1 years ago, Updated 1 years ago, 103 views

You set div style = position: relative to place the image on the image as shown in the image. However, when I set the div, a box was created by the horizontal size of the image below it (blue box). In this case, is there a way to set the box according to the image size?

html5 div position relative

2022-09-22 20:07

1 Answers

 border: 0px solid black

Do it like this.

https://www.w3schools.com/css/css_border.asp


2022-09-22 20:07

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.