width tag

2 questions


1 answers
88 views
0
I have a question about changing the width attribute of css tag with javascript JavaScript

window.onload=function() { var img = document.querySelector('img') var size=100; img.width=size; img.height=size; img.style.width=size + 'px'; img.style.height=size + 'px';}Hello, I have a question fr...

1 years ago

1 answers
101 views
0
Even if I searched for the response type, there was no explanation why I couldn't apply width=100% so I asked.

I got a job at an open market company this month, and I was in charge of managing HTml as well as a marketer, so I started to deal with HTml and css for the first time.First of all, I was in charge of...

1 years ago

© 2024 OneMinuteCode. All rights reserved.