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 6839379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:42:43+00:00 2026-05-26T23:42:43+00:00

I’ve been trying to make this layout for weeks now but i just cant

  • 0

I’ve been trying to make this layout for weeks now but i just cant seem to get it like this at all!

layout example

So if it’s not to much trouble can some one try and get me a link or something like that so I can continue with my site.

  • 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-26T23:42:44+00:00Added an answer on May 26, 2026 at 11:42 pm

    Here’s a step in (hopefully) the right direction.

    Demo

    Some very important things to keep in mind here:

    positioning basics

    setting an element’s position to absolute will let you freely place it based on pixel coordinates, but it’s usually a good idea to place it in a container to restrict it. You create a container for absolutely positioned elements by creating a parent with a position of relative (or anything other than the default, static).

    use variable values (percentages)

    Also, you want to position the elements with percentages so that it can be resized and to ensure centering. You can give an element a % width or height and it will be the % of the width or whatnot of its first non-static parent.

    positioning the elements

    You can then position the elements based on percent values using the left and top properties. Left for position:absolute elements indicate “some value from the left edge of the first non-static parent”. Likewise for top, bottom, and right.

    centering an element

    to position an element with absolute positioning in the middle of its first non-static parent, you give it a left value of 50% and a top value of 50%. (50% of the parents width from the left edge of that parent and 50% of its height from the top). This will position the top left corner of the element in the middle to the parent. to center the element fully, you need to offset it by half its width and height. You can use margin-left and margin-right with negative values for this.

    From there on you can just adjust as needed as I did in the provided demo. Study the code (also pasted below for future reference) and see how the elements are positioned and what properties where used.

    HTML

    <div class="container">
    
        <div class="block tl"></div>
        <div class="block t"></div>
        <div class="block tr"></div>
        <div class="block l"></div>
        <div class="center"></div>
        <div class="block r"></div>
        <div class="block bl"></div>
        <div class="block b"></div>
        <div class="block br"></div>
    
    </div>
    

    CSS

    .container
    {
        width: 300px;
        height: 300px;
        position:relative;
        margin:100px;
    }
    
    .block, .center
    {
        width:25%;
        height:25%;
        background:#5aa;
        border-radius:10px;
        position:absolute;
        left:50%;
        top:50%;
        margin-left:-12%;
        margin-top:-12%;
    }
    
    .center
    {
        width:30%;
        height:30%;
        margin-left:-15%;
        margin-top:-15%;
    }
    
    .center
    {
        border-radius:100%;
    }
    
    .tl
    {
        left:20%;
        top:20%;
    }
    .tr
    {
        left:80%;
        top:20%;
    }
    .br
    {
        left:80%;
        top:80%;
    }
    .bl
    {
        left:20%;
        top:80%;
    }
    .t
    {
        top:10%;
    }
    .r
    {
        left:90%;
    }
    .b
    {
        top:90%;
    }
    .l
    {
        left:10%;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have a jquery bug and I've been looking for hours now, I can't
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I am trying to render a haml file in a javascript response like so:
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have some data like this: 1 2 3 4 5 9 2 6
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but

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.