0

Please solve the error

In this code why the image at top i.e. image with div id as ab is not getting formatted? https://code.sololearn.com/WzTMKQ3DHvoq/?ref=app

25th May 2021, 3:56 PM
Knowledge Pedia
Knowledge Pedia - avatar
1 Réponse
0
because you doesn't apply width to the image but to the div... in your css, change: #ab { by: #ab img { that will target / select any img tag inside element with id "ab" OR alternativaly, set the id on the img tag rather than on its parent div... however, this is a duplicate thread, and you should remove this one ;P
25th May 2021, 4:07 PM
visph
visph - avatar