container inside container
-
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)
-
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)
-
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)
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..
-
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)
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[^]
-
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)
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 :)
-
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)
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