How i make the table to fit into the webpage with HTML? the table crossing the page. Is it necessary CSS to do this? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How i make the table to fit into the webpage with HTML? the table crossing the page. Is it necessary CSS to do this?

Link: https://code.sololearn.com/We8yhPaaowmQ/?ref=app Click this link and see my webpage im creating, see the table. How i fit the table properly into the webpage. P.S. Sorry for Grammar Mistakes

30th May 2019, 9:20 AM
AHAMED KHALIFA Z
AHAMED KHALIFA Z - avatar
9 Answers
+ 1
vw stand for viewport width, ad it relative to css. Then with out css you can't do that!
30th May 2019, 10:46 AM
Thống Nguyễn
Thống Nguyễn - avatar
+ 1
Yes, Css born for that things!
30th May 2019, 10:49 AM
Thống Nguyễn
Thống Nguyễn - avatar
+ 1
HTML print out things in your screen, and CSS is to decoration these! So soon or later you will definitely work with CSS. So better practice from now!
30th May 2019, 10:53 AM
Thống Nguyễn
Thống Nguyễn - avatar
0
Try using this css: table{ font-size:3vw; } and wala This set the table's font size relative to the width of screen, then make your table fit every device!
30th May 2019, 10:34 AM
Thống Nguyễn
Thống Nguyễn - avatar
0
Thanks for helping. What is vw here. And can we do this in html?
30th May 2019, 10:43 AM
AHAMED KHALIFA Z
AHAMED KHALIFA Z - avatar
0
Can we divide a section in a webpage by only CSS?
30th May 2019, 10:48 AM
AHAMED KHALIFA Z
AHAMED KHALIFA Z - avatar
0
Beside vw, you can use % too. Try this: table{ font-size:73%; }
30th May 2019, 10:48 AM
Thống Nguyễn
Thống Nguyễn - avatar
0
Can we increase and decrease table size in html?
30th May 2019, 10:50 AM
AHAMED KHALIFA Z
AHAMED KHALIFA Z - avatar
0
Thanks
30th May 2019, 10:55 AM
AHAMED KHALIFA Z
AHAMED KHALIFA Z - avatar