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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:14:17+00:00 2026-05-28T07:14:17+00:00

In many places I have put elmeents nested in other elements. I can’t deduce

  • 0

In many places I have put elmeents nested in other elements. I can’t deduce when a child element causes the parent element to expand. I don’t have any code to post as this is a general conceptual question so that I can design as needed.

  • 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-28T07:14:18+00:00Added an answer on May 28, 2026 at 7:14 am

    The first thing that you should understand is the CSS Box Model. That will help you understand how properties of an element cause it to have the size and dimensions that it has. Another good resource is here.

    To answer your main question in the most simple manner (and being very general):

    • Block level elements take up as much width as possible (obeying their CSS width rule). Their height is dependent on their content and the CSS height property.
      • Elements like div, p, and ul are all block.
      • These will generally cause your parent element to expand.
    • Inline level elements will continue to flow together in a line, filling up only as much width and height as necessary.
      • Elements like span, em, strong are all inline.
      • These will cause your parent element to expand only when there are enough of them on the same line to warrant another line.

    There are many ways to tweak the display of elements with CSS.

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

Sidebar

Related Questions

In many places in our application we have code like this: using(RAPI rapi =
I have read in many places that WPF combo does not support autocomplete but
I have the code below in my test code in many places: // //
I have a new website that is linked to from many places but the
I am new to java, I have seen in the code at many places
C++0x is introducing unordered_set , which is available in boost and many other places.
I have a quite large codebase. In many places I have a piece of
There are many places in my application where I need to generate links with
I've read advice in many places to the effect that sending a lot of
In Android application development, I frequently go through the word CallBack in many places.

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.