How can I make my website have the same view even if it's viewed from a smartphone, tablet or PC? I have a table on the webpage. I've tried this but has no effect:
<meta name="viewport" content="width=device-width, initial-scale=1">
Your declaration is saying to size the web page to the width of the device, which it doesn't seem like you want. You actually want the opposite of this if you want it to show up on mobile similar to on desktop. Try setting a fixed viewport size, so that the website will not take screen size into account on mobile devices:
<meta name="viewport" content="width=1024">