Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-31-2012, 06:26 PM   PM User | #1
charlyanderson
Regular Coder

 
Join Date: Dec 2012
Posts: 111
Thanks: 14
Thanked 1 Time in 1 Post
charlyanderson is an unknown quantity at this point
What are the best methods to ensuring your website displays correctly on mobiles/tabs

I have designed a website which is validated correctly but display incorrectly on my tab and mobile which use chrome.

Are there methods to solving issues with mobiles?
charlyanderson is offline   Reply With Quote
Old 01-01-2013, 09:41 AM   PM User | #2
webdevs
New Coder

 
Join Date: Nov 2012
Location: India
Posts: 52
Thanks: 0
Thanked 3 Times in 3 Posts
webdevs is an unknown quantity at this point
Ok, You needs to check the div structures and CSS first compitible with world major browsers. Once it work with browser ok, then check with mobile browser.
webdevs is offline   Reply With Quote
Old 01-01-2013, 03:53 PM   PM User | #3
tracknut
Regular Coder

 
Join Date: Aug 2006
Posts: 891
Thanks: 4
Thanked 205 Times in 204 Posts
tracknut is an unknown quantity at this point
Media queries, to scale your site down for smaller devices, is a good way to handle it. There's no one perfect solution for mobile, but I'm pretty pleased with mq.

Dave
tracknut is offline   Reply With Quote
Old 01-02-2013, 03:52 PM   PM User | #4
janvermeer
New to the CF scene

 
Join Date: Jan 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
janvermeer is an unknown quantity at this point
Quote:
Originally Posted by tracknut View Post
Media queries, to scale your site down for smaller devices, is a good way to handle it. There's no one perfect solution for mobile, but I'm pretty pleased with mq.

Dave
yup, media is the best option
janvermeer is offline   Reply With Quote
Old 01-03-2013, 07:47 PM   PM User | #5
charlyanderson
Regular Coder

 
Join Date: Dec 2012
Posts: 111
Thanks: 14
Thanked 1 Time in 1 Post
charlyanderson is an unknown quantity at this point
I am familiar with media queries as I have used them previously, my problem is I never know how to actually test them to make sure it all works
charlyanderson is offline   Reply With Quote
Old 01-03-2013, 07:56 PM   PM User | #6
tracknut
Regular Coder

 
Join Date: Aug 2006
Posts: 891
Thanks: 4
Thanked 205 Times in 204 Posts
tracknut is an unknown quantity at this point
Set the meta tag for the viewport size in your header:
Code:
<meta name="viewport" content="width=device-width">
Then just use your regular browser and size it up and down to simulate your various sizes for mobile devices. That will get you a long way, without even looking at the site on a mobile. But since you say you have a tablet and a mobile, you could also test on them periodically.

Dave
tracknut is offline   Reply With Quote
Old 01-05-2013, 12:51 PM   PM User | #7
webdevs
New Coder

 
Join Date: Nov 2012
Location: India
Posts: 52
Thanks: 0
Thanked 3 Times in 3 Posts
webdevs is an unknown quantity at this point
Can you please show me you website so, i can let you know what things you will needs to fix for the mobile and web browsers
webdevs is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:52 PM.


Advertisement
Log in to turn off these ads.