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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:00:51+00:00 2026-06-13T12:00:51+00:00

I was making a new design for my website. I thought that I should

  • 0

I was making a new design for my website. I thought that I should make different boxes. All of their borders and backgrounds had to be same, but their heights and widths had to be different. So, I created a css class.

.box
{
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwNWFmZiIgc3RvcC1vcGFjaXR5PSIwLjUiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAwNWFmZiIgc3RvcC1vcGFjaXR5PSIwLjUiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==);
    background: -moz-linear-gradient(left,  rgba(0,90,255,0.5) 0%, rgba(0,90,255,0.5) 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0,90,255,0.5)), color-stop(100%,rgba(0,90,255,0.5)));
    background: -webkit-linear-gradient(left,  rgba(0,90,255,0.5) 0%,rgba(0,90,255,0.5) 100%);
    background: -o-linear-gradient(left,  rgba(0,90,255,0.5) 0%,rgba(0,90,255,0.5) 100%);
    background: -ms-linear-gradient(left,  rgba(0,90,255,0.5) 0%,rgba(0,90,255,0.5) 100%);
    background: linear-gradient(to right,  rgba(0,90,255,0.5) 0%,rgba(0,90,255,0.5) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80005aff', endColorstr='#80005aff',GradientType=1 );

    border:thick white groove;
    border-bottom-color:gray;
    border-right-color:gray;
    border-top-left-radius:1em;
    border-bottom-right-radius:1em;

}

I put the HTML code in the body as –

    <body onload="load()">

    <center>

        <div style="width:1120px">
            <img src="images/blu-logo.png" style="float:left;">     
            <div class="box" style="width:900px;height:50px;float:right;margin-top:100px;">
            </div>
        </div>

        <div class="box" style="width:900px;height:500px;">
            <p>Sample text</p>
        </div>          
    </center>

</body>

I don’t know how but something crazy happened when I viewed the file in the browser as the division(<div>) that was supposed to be below the other actually went on the same position as the first one.

  • 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-06-13T12:00:52+00:00Added an answer on June 13, 2026 at 12:00 pm

    I think that your problem is to do with your floating elements.

    Try and the css property “overflow:auto” onto the DIV which contains the two floated elements.

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

Sidebar

Related Questions

I have tough time making this design decision. I could go with traditional new
I am making a new application in MongoDB, and I have found that the
I'm making a new game that generates a huge grid (lets say 1000x1000). The
I am making a website and I want to use the following design: Each
I am developing requirements for a new website design for my company. I have
I am making a simple PHP application with an MVC design. All of the
I am making a one-page website for a client. There are 3 different menu
Alright, very noob question. I'm making a CLI app that lets users design surveys.
Making a new site but something is happening to it in IE8. The social
Making a new site but something is happening to it in IE. I've purchased

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.