Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 67411

How to automatically change HTML table column count based on screen size?

$
0
0

I want to have different layout for different window screen size specially for mobile devices. If for example. the screen is 1080p then 4 columns, if 720p then 2 columns. How can I dynamically do this in HTML5/CSS?

Or DIV is better than using table in this case?

Thanks


Viewing all articles
Browse latest Browse all 67411

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>