Pergunta

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?

Foi útil?

Solução

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" />
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top