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

  • SEARCH
  • Home
  • 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 7622421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:26:58+00:00 2026-05-31T04:26:58+00:00

I am developing one web application in HTML5 and js. And I am using

  • 0

I am developing one web application in HTML5 and js. And I am using some ‘Canvas‘ tags in it. So I would like to structure them on the screen like:
enter image description here

I have achieved it by using such CSS tags as: margin-right, margin-left, top, position.
The problem is when I use these css tags, then I am more or less adapting the whole layout to one screen only, unfortunately my aim is to support any screen possible.

Maybe there are professionals in layouting who could help with this particular problem.

P.S. When window size is changed, canvases should not be resized

  • 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-31T04:27:00+00:00Added an answer on May 31, 2026 at 4:27 am

    I have created you a demo.

    I believe this is what you want.

    HTML:

    <div id="wrapper">
        <div id="col1">
            <div class="canvas">Canvas-Left-1
                <div class="innercanvas">Canvas-Left-1-1</div>
            </div>
            <div class="canvas">Canvas-Left-2
                <div class="innercanvas">Canvas-Left-2-1</div>
            </div>
        </div>
    
        <div id="col2">Canvas 0</div>
    
        <div id="col3">
            <div class="canvas">Canvas-Rigt-1
                <div class="innercanvas">Canvas-Right-1-1</div>
            </div>
            <div class="canvas">Canvas-Right-2
                <div class="innercanvas">Canvas-Right-1-1</div>
            </div>
        </div>
    </div>​
    

    CSS

    * {margin: 0; padding: 0;}
    #wrapper {display: block; margin: 0 auto; width: 1000px; background-color: green; overflow: auto;}
    #col1 {display: inline-block; width:200px; background-color: gray; position: relative; float: left;}
    #col2 {display: inline-block; width:600px; background-color: yellow; position: relative; float: left;}
    #col3 {display: inline-block; width:200px; background-color: blue; position: relative; float: left;}
    .canvas {background-color: black; margin: 10px; color: white}
    .innercanvas {background-color: purple; margin: 10px; color: white}​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing one web application project using java for education industry.In this Admin have
I'm developing one web application, using PHP eclipse IDE. For an instance i want
I am developing an web application using php. One of the requirement is the
I am developing one web application using asp.net 2005 and Microsoft SQL Server 2008
I am developing one web application using CakePHP , I will be providing one
I am developing one web application using (PHP JavaScript). I stuck to one point
I am developing one new area of a fairly large web application using MVC3
I am developing a GWT web application. I have a login page with one
Hi I am developing an asp.net web application. I have to access one of
I'm developing a mobile web application and I have a home screen with a

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.