Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6641385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:48:17+00:00 2026-05-25T23:48:17+00:00

I am trying to create a fluid/responsive layout where the same HTML would render

  • 0

I am trying to create a fluid/responsive layout where the same HTML would render differently on different devices…Now I am aware of how to use CSS Media queries (for desktop/iPad,etc), fluid grids and all that stuff..

My question is let’s say these are the 2 layouts i have for desktop/iPad..I need to design using a single HTML and have 2 separate CSS (which would be ofcouse through the media query device-width, etc)…How do I code my HTML such that the CSS would be able to render it differently?

Desktop layout
enter image description here
iPad layout
iPad layout

I have already gone through many articles like the one on;
http://www.alistapart.com/articles/responsive-web-design/

But my question is is it possible to create extremely different views from a single HTML just through CSS (By that I would mean say a particular set of sections/cols showing on desktop is at a very differnt position for a different device)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T23:48:17+00:00Added an answer on May 25, 2026 at 11:48 pm

    Last I checked, you could add the media tag in the CSS file and it would automatically do this for you.

    <link rel="stylesheet" href="" type="text/css" media="Screen" />
    <link rel="stylesheet" href="" type="text/css" media="handheld" />
    

    Example

    <div id="header"></div>
        <div class="centerSection"></div>
        <div class="centerSection"></div>
        <div class="centerSection">
            <div></div><div></div>
        </div>
    <div id="footer"></div>
    

    Desktop

    .centerSection { float:left; }
    

    Mobile

    .centerSection { clear:both; }
    

    See here: W3 CSS Media

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to create a completely fluid layout in CSS (everything in %),
I'm trying to create a website with fluid layout, but im having some problems
Trying to create my first iPhone app that would play back audio. When I
Trying to create several layers of folders at once C:\pie\applepie\recipies\ without using several different
I'm trying create a scaling layout for an Android application. The whole screen should
I trying create a class derivated from System.Web.UI.Page and in override Render i set
Im trying to create a simple dll file.Im following the tutorial http://java.sun.com/docs/books/jni/html/start.html when i
i am trying to create a css layout using pixels and percentages. the reason
I am trying to create a 4 column <div> layout. Why are the row
I am trying create a layout. There are several inner layouts that should like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.