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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:34:22+00:00 2026-05-24T09:34:22+00:00

I did the below it worked, <div class=container_12> <div class=grid_6>Some Text</div> <div class=grid_6>Some Text</div>

  • 0

I did the below it worked,

<div class="container_12">
<div class="grid_6">Some Text</div>
<div class="grid_6">Some Text</div>
</div>

result: Two boxes inside with 10px left and right margin appeared.

Question 1:

Below does not work, one box is pushed below another why? What should i do to fix it?

<div class="container_12">
<div class="grid_12">
<div class="grid_6">Some Text</div>
<div class="grid_6">Some Text</div>
</div>
</div>

Question 2:

With the MarkUp 1, which i stated at start of question i substitued the text with Google visualization charts, they behave like Question1. One chart is pushed below another.

Question 3

Do i always have to specify clears after the the grids ads up to containers width. for example,

<div class="container_12">
<div class="grid_6">Some Text</div>
<div class="grid_6">Some Text</div>
<div class="clear"></div>
<div class="grid_12"></div>
</div>

Question 4

I have heard that clearfix does the same as clearing, where do i use it on the parent container or the divs inside them?

  • 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-24T09:34:23+00:00Added an answer on May 24, 2026 at 9:34 am

    Question 1

    You need to add a class of “alpha” on the first div to remove the left margin and a class of “omega” on the last div to remove the right margin.

    Whenever you are nesting divs you need to add alpha and omega classes to the first and last divs.

    <div class="container_12">
        <div class="grid_12">
            <div class="grid_6 alpha">Some Text</div>
            <div class="grid_6 omega">Some Text</div>
        </div>
    </div>
    

    Question 2

    This may be because the content ie the charts are wider than the div.

    Question 3

    Use a clear div when only when you want to clear all the elements above it.

    Question 4

    Whenever you have a div with floated elements inside it you can give it a class of clearfix to clear everything inside.

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

Sidebar

Related Questions

I did like below in xml <TableRow> <TextView android:id=@+id/address1 android:layout_width=fill_parent android:layout_height=wrap_content android:gravity=left android:maxLines=4 android:singleLine=false
I've been using FB Connect for some time now. The code below has worked
Did anyone try that feature and has some feedback? Or Does anyone know some
I'm using the code below to read a text file that contains foreign characters,
I have the below, which has worked fine until I added the last part:
I have a recursive function which contains some drawing code inside. I was advised
I had code like below: @interface InterfaceWithACategory () { ... Some variables } @end
UPDATE: I did not realise that Thomas Levesque had posted a solution and worked
Did you ever have to choose between WISA or LAMP at the beginning of
Did you ever had a bug in your code, you could not resolve? I

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.