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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T11:49:06+00:00 2026-06-03T11:49:06+00:00

I have a box container as shown bellow Which i want to code in

  • 0

I have a box container as shown bellow

enter image description here

Which i want to code in a modular way so that i can use the html css structure to build any size box in width and height. I will be using Bootstrap to code the website

Which is the best way to get started.

  • 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-03T11:49:12+00:00Added an answer on June 3, 2026 at 11:49 am

    I tried to keep this as similar to your example as I could with straight CSS. Given this approach, you won’t find immediate support in IE8 and lower.

    The markup for the box itself is pretty simple:

    <div id="modal">
      <header><h1>Something Here</h1></header>
      <section>
        <p>Pellentesque habitant morbi tristique...</p>
      </section>
    </div>
    

    The CSS for this markup can be found below the preview image below.

    Demo: http://jsbin.com/ogesuf/5/edit

    enter image description here

    <style>
      article, aside, figure, footer, header, hgroup, 
      menu, nav, section { display: block; }
      #modal {
        width: 600px;
        border: 1px solid #CCC;
        box-shadow: 0 1px 5px #CCC;
        border-radius: 5px;
        font-family: verdana;
        margin: 25px auto;
        overflow: hidden;
      }
      #modal header {
        background: #f1f1f1;
        background-image: -webkit-linear-gradient( top, #f1f1f1, #CCC );
        background-image: -ms-linear-gradient( top, #f1f1f1, #CCC );
        background-image: -moz-linear-gradient( top, #f1f1f1, #CCC );
        background-image: -o-linear-gradient( top, #f1f1f1, #CCC );
        box-shadow: 0 1px 2px #888;
        padding: 10px;
      }
      #modal h1 {
        padding: 0;
        margin: 0;
        font-size: 16px;
        font-weight: normal;
        text-shadow: 0 1px 2px white;
        color: #888;
        text-align: center;
      }
      #modal section {
        padding: 10px 30px; 
        font-size: 12px;
        line-height: 175%;
        color: #333;
      }
    </style>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a container box that includes a number of thumbnails. i earlier made
I have a black box of code that contains many threads. There is no
I have the below code for my a Dialog box for a which contains
I have this html page which is very simple, it contains a text box
Here is your dumb HTML/CSS question for the day.... I have a div that
I have a set up of the following HTML <div class=container> <div class=box>Content</div> <div
I have this code, which shows the tooltip within a box with the id
I have a list box control that contains enough items to list them with
I have a list a simple dialog box which contains a few checkboxes, I
I have a web page which contains a select box. When I open 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.