Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. container inside container

container inside container

Scheduled Pinned Locked Moved Web Development
dockerarchitecture
6 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    williamroma
    wrote on last edited by
    #1

    hi **(SORRY FOR MY BAD ENGLISH )**i have build a body container like

    i put in it this :

    the search and the descretpion is : #descretpion{ width: 30%; height: 200px; margin-left: 69%; background-color:#ccccff; border-bottom: 5px solid #000000; border-top: 5px solid #000000; border-right: 5px solid #000000; border-left: 5px solid #000000; } #search{ width: 40%; height: 200px; background-color: red; } when i run the code the don't be inside each other , the descretpion be above the search , look i close the div tag for every tag ,where is the wrong ty (SORRY FOR MY BAD ENGLISH)

    P S D M C 5 Replies Last reply
    0
    • W williamroma

      hi **(SORRY FOR MY BAD ENGLISH )**i have build a body container like

      i put in it this :

      the search and the descretpion is : #descretpion{ width: 30%; height: 200px; margin-left: 69%; background-color:#ccccff; border-bottom: 5px solid #000000; border-top: 5px solid #000000; border-right: 5px solid #000000; border-left: 5px solid #000000; } #search{ width: 40%; height: 200px; background-color: red; } when i run the code the don't be inside each other , the descretpion be above the search , look i close the div tag for every tag ,where is the wrong ty (SORRY FOR MY BAD ENGLISH)

      P Offline
      P Offline
      phome
      wrote on last edited by
      #2

      I can not understand clearly. Is it "description" in "search" and "search" in "body"? Or just "search" and "description" both in "body"?

      Good day,Good job,Good life

      1 Reply Last reply
      0
      • W williamroma

        hi **(SORRY FOR MY BAD ENGLISH )**i have build a body container like

        i put in it this :

        the search and the descretpion is : #descretpion{ width: 30%; height: 200px; margin-left: 69%; background-color:#ccccff; border-bottom: 5px solid #000000; border-top: 5px solid #000000; border-right: 5px solid #000000; border-left: 5px solid #000000; } #search{ width: 40%; height: 200px; background-color: red; } when i run the code the don't be inside each other , the descretpion be above the search , look i close the div tag for every tag ,where is the wrong ty (SORRY FOR MY BAD ENGLISH)

        S Offline
        S Offline
        Satheesh1546
        wrote on last edited by
        #3

        Hi, I don't understand clearly. But i would like to explain some thing. If you need to have the "description" inside "Search", it should be like this,

        enclose the contents of description here..

        then you should apply style for the containers as you need..

        1 Reply Last reply
        0
        • W williamroma

          hi **(SORRY FOR MY BAD ENGLISH )**i have build a body container like

          i put in it this :

          the search and the descretpion is : #descretpion{ width: 30%; height: 200px; margin-left: 69%; background-color:#ccccff; border-bottom: 5px solid #000000; border-top: 5px solid #000000; border-right: 5px solid #000000; border-left: 5px solid #000000; } #search{ width: 40%; height: 200px; background-color: red; } when i run the code the don't be inside each other , the descretpion be above the search , look i close the div tag for every tag ,where is the wrong ty (SORRY FOR MY BAD ENGLISH)

          D Offline
          D Offline
          Dalek Dave
          wrote on last edited by
          #4

          The problem is you </DIV>'s You are closing one div before opening the next. Try this format:

          Container1

          Container2

          ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

          1 Reply Last reply
          0
          • W williamroma

            hi **(SORRY FOR MY BAD ENGLISH )**i have build a body container like

            i put in it this :

            the search and the descretpion is : #descretpion{ width: 30%; height: 200px; margin-left: 69%; background-color:#ccccff; border-bottom: 5px solid #000000; border-top: 5px solid #000000; border-right: 5px solid #000000; border-left: 5px solid #000000; } #search{ width: 40%; height: 200px; background-color: red; } when i run the code the don't be inside each other , the descretpion be above the search , look i close the div tag for every tag ,where is the wrong ty (SORRY FOR MY BAD ENGLISH)

            M Offline
            M Offline
            manognya kota
            wrote on last edited by
            #5

            Hi, According to my understanding you want Search and Description in the main Body Div tag.So that Search and Description be on one another.But when you run the code, they are one below the other. Try giving the Z index values to the search and Description divs.This will make the divs to over lap.

            -Manognya __________________________________________________ $ God gives what is best.Not what all you wish :)

            1 Reply Last reply
            0
            • W williamroma

              hi **(SORRY FOR MY BAD ENGLISH )**i have build a body container like

              i put in it this :

              the search and the descretpion is : #descretpion{ width: 30%; height: 200px; margin-left: 69%; background-color:#ccccff; border-bottom: 5px solid #000000; border-top: 5px solid #000000; border-right: 5px solid #000000; border-left: 5px solid #000000; } #search{ width: 40%; height: 200px; background-color: red; } when i run the code the don't be inside each other , the descretpion be above the search , look i close the div tag for every tag ,where is the wrong ty (SORRY FOR MY BAD ENGLISH)

              C Offline
              C Offline
              cjoki
              wrote on last edited by
              #6

              Have you looked for other css rules that may affect your divs..? like body div{ } or div div{ } maybe with a float value?

              Chris J www.redash.org

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups