Image size | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Image size

In sololearn code editor this width="300" covers the entire screen(all most in portrait mode) but in another code editor (name is Decoder), setting width="300" doesn't cover the whole screen. Can I you explain reason?

4th Oct 2020, 6:18 PM
Faysal Hasan
Faysal Hasan - avatar
2 Answers
0
I see
5th Oct 2020, 1:35 AM
Faysal Hasan
Faysal Hasan - avatar
0
You have not mentioned any unit to width so it might possible that browser is getting it in dppi(display pixel per inch) which varry/increases with screen size.
5th Oct 2020, 6:57 AM
Divya Mohan
Divya Mohan - avatar