Jump to content

Table not scaling down in mobile


Fletcher91

Recommended Posts

Hi,

 

I have my content in a table set to 800px as i want the content to be quite small in the center of the page (See screenshot)

 

This is the code i am applying to keep it at 800px:

<table width="800" style="margin-left: auto; margin-right: auto;">

 

The problem is, when I view the website on mobile, it is staying at the 800px and bleeding off the side of the page (see screenshot)

 

 

Is there anything I can add to my line of code to make it scale down when viewed on a screen less than 800px??

 

Thank you :)

post-727424-0-52671200-1487162212_thumb.png

post-727424-0-20850000-1487162223_thumb.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...