Question

I have a basic HTML Table. It renders as expected on a PC. But on a mobile browser (tested on firefox and chrome on Android) some rows are large and some are small like this. I have uploaded my code here (QR Code).

Why is this happening? and how to fix this?

Was it helpful?

Solution

Got solution from a different question. Adding a viewport tag in the <head> section, will prevent device scaling/zooming and give a uniform look across mobile devices

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top