Need help with implementation of JS fiddle

I'm trying to make this work: http://jsfiddle.net/9zVE5/5/

on the table on this page: dev2.magickitchen.com/gifts2.html

I have the sample code here:  http://dev2.magickitchen.com/table-test.html

when I look at it on a mobile emulator, I still need to scroll, although it does stack. I'd like that part to not have to scroll horizontally.

Then on the gifts2.html page, I will try it again and see if the changes you give me work. Thanks.
Melody ScottAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jeff DarlingDeveloper AnalystCommented:
Try adding this meta line, then view with your mobile device.

<meta name="viewport" content="width=device-width,initial-scale=1">

Open in new window


I have a sample here.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Melody ScottAuthor Commented:
Sorry, I should have had that in there. It's in now, and I still have to scroll on mobile. Thanks.
0
Jeff DarlingDeveloper AnalystCommented:
What mobile emulator are you using to test?  I tried on a nexus 6 and it goes to stacked on open.
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Melody ScottAuthor Commented:
I use http://mobiletest.me/. This is what I see.
screenshot
0
Jeff DarlingDeveloper AnalystCommented:
ok, I haven't tried that emulator before.

I tried a iOS and Android using Sauce Labs.

sample Android
Sample iOS
0
Jeff DarlingDeveloper AnalystCommented:
just tried that mobile emulator on the page that I built.


Samsung Test

I'm not seeing the scrollbars.  Still cutting off some on the right.

Samsung image
0
Melody ScottAuthor Commented:
Is there something I can do to center the table and make it just fill the screen using this fiddle? If not, maybe you could recommend another way to make tables look good in mobile with bootstrap 3? Thanks.
0
Jeff DarlingDeveloper AnalystCommented:
How about changing the row CSS to 25% for padding on both the right and left instead of 50% on the left?

like this

    table.responsive td { 
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee; 
        position: relative;
        padding-left: 25% !important;
        padding-right: 25% !important;
        
    }

Open in new window


Sample here

sample
0
Melody ScottAuthor Commented:
Thanks, I'll have a look!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.