How do I keep text the same size, ignoring browser defaults? also, help me debug my web code and my first apk? (Same code) | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 4

How do I keep text the same size, ignoring browser defaults? also, help me debug my web code and my first apk? (Same code)

Firstly, is that possible? I need to keep text the same size in all browsers so my elements stay in the right position. Secondly, this is my awesome code you should check out https://code.sololearn.com/WXFHbXvUtZZg/?ref=app And finally, took this code and made an apk to run it in. Would you like to help debug? Works best if phone display settings for font size are medium https://drive.google.com/file/d/0ByqtSEAho9z6M2VMekR3d1ZpQm13R3dTUG9uWUhVQlVvRmZ3/view?usp=drivesdk Suggestions? Criticism? welcome

5th Jun 2017, 12:52 AM
Russel Reeder
Russel Reeder - avatar
5 Antworten
+ 4
So I guess my real question is if I can just have my webpage ignore those. Maybe not the zoom, but the default text size
5th Jun 2017, 1:01 AM
Russel Reeder
Russel Reeder - avatar
+ 4
Ill be researching too, so if I find the answer I'll put up what I've found out. Maybe I shud brush up on my Css, lol. What does the !important keyword do?
5th Jun 2017, 1:07 AM
Russel Reeder
Russel Reeder - avatar
+ 4
Awesome. Let me shove that code into the webpage
5th Jun 2017, 1:08 AM
Russel Reeder
Russel Reeder - avatar
+ 4
Well the text-size-adjust:none; didn't work, or WebKit or ms or the other in you gave me... So back to drawing board. Thanks for trying tho. Researching the property and may have found a fix... unset as opposed to none. Back to drawing board.
5th Jun 2017, 1:23 AM
Russel Reeder
Russel Reeder - avatar
+ 3
Think I understand that bit @Andrew, what I want to do is more similar to your second idea. But - depending on browser settings and zoom, or specifically for the case of the apk, your phone default display font size and font type, it moves my elements ever so slightly and makes them less functional, if not nonfunctional, depending on the severity of the offset
5th Jun 2017, 1:01 AM
Russel Reeder
Russel Reeder - avatar