Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Apr 2009
    Posts
    2
    Member #
    18759

    Which approach is best to create a responsive html page?

    I have designed 3 versions of a web page - desktop, tablet and mobile.
    Content is same but layout is different.
    Which approach is best to convert the page to responsive html:
    a) Separate html files
    b) Separate CSS files
    c) Single CSS file


    You can view jpegs of the 3 versions here:
    Desktop:
    http://shrineweb.in/other-files/clie.../test/Home.jpg
    Tablet:
    http://shrineweb.in/other-files/clie...ome-tablet.jpg
    Mobile:
    http://shrineweb.in/other-files/clie...ome-mobile.jpg


    I am new to responsive web designing, please give the best advice.


    NOTE:- Mobile version's navigation (top-right) is different from Tablet and Desktop version.


    Thanks in advance.

  2.  

  3. #2
    Junior Member
    Join Date
    Mar 2014
    Posts
    9
    Member #
    38822
    I would consider looking up twitter bootstrap. It basically handles the responsive adjustments to screen size for you with a really easy to work with grid system. You simply overwrite styles to achieve the look you designed but your mocks look like they would work well.

    There are other ways to do this of course and I am sure you will get feedback on other options. I am just not a fan of using platform-specific pages or style sheets anymore as it is not necessary.

  4. #3
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Quote Originally Posted by green18 View Post
    I would consider looking up twitter bootstrap.
    Why are we using a sledgehammer to pound in a nail?

    You don't need any extra files to do what you're wanting. You just need to learn to use media queries. Some people like to start with the mobile view, others the desktop view. Most times it doesn't really matter, but use what you think works for your situation. If the desktop view is really heavy (large and/or copious images) compared to the mobile, I'll start with the mobile view and use AJAX to bring in the larger assets on desktop. From there, you define your media queries and restyle the page within them. It seems a bit daunting the first time you do it, but once you see how it works, you'll get the hang of it quickly. The biggest problem people run into is the specificity of their selectors in their media queries. If a media query isn't working, it's probably because the selector isn't as specific as the one on the default styles.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  5. #4
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    The answer is "it doesn't matter". Whether you make this a responsive site or not makes absolutely no difference in the world.

    Why? BECAUSE YOU'RE STEALING SOMEONE ELSE'S IDEA AND YOU LEFT THE DOMAIN OF THE INFRINGED SITE IN THE FOOTER.

    Seriously, is there anyone in southern Asia that has any concept of an original idea?
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  6. #5
    Junior Member
    Join Date
    Mar 2014
    Posts
    9
    Member #
    38822
    Wow...just...wow. I did not even notice that.

  7. #6
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    Most people don't. Not your fault. I almost missed it myself, but for the fact that exam sites are fairly common.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Tags for this Thread

All times are GMT -6. The time now is 11:15 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com