Same code, different styles? confused | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Same code, different styles? confused

Hi people, I have a question: How is it possible that, if I open my blog on my desktop, the style is different then if I open the blog in my sololearn apk? That should show the same style, right? best reguards Marco https://code.sololearn.com/WMgDJoA3D187

10th Oct 2018, 9:41 AM
Marco A de Jong
Marco A de Jong - avatar
3 Answers
+ 5
It depends whether the page designed to be responsive, that is, the content flows like fluid and fit as much as possible to the viewport / device width. Otherwise, the page will have a very bad user experience in mobile whereby the entire page zoom out to fit into the mobile screen. 😉
10th Oct 2018, 12:39 PM
Zephyr Koo
Zephyr Koo - avatar
+ 1
Hi!, That's because each "browser" renders in a different way the same code, because they apply different pre-defined styles to some tags, if you want to see it clearly just open your work in IE and chrome and for sure you will find more style differences
10th Oct 2018, 12:34 PM
SMN947
SMN947 - avatar
+ 1
I changed the font family, that solved my problem. Thanks for helping me.. 👍
20th Oct 2018, 4:57 PM
Marco A de Jong
Marco A de Jong - avatar