But when I put the gallery in "float: left" it appears directly below the menu (and not right menu).
ok I'm starting to get the gallery of images "encroach" on the menu column.
Now the problem is that if you add images, the div of the gallery "grows", but (and this is the problem) the container div does not grow.
And the "background-color" is applied to the container div (so that the background is applied uniformly to div "menu" and the div "gallery")
So as the container div do "grows up" no, there is a space below the menu (and ugly)
You see the problem?
PHP Code:
<div id="container">
<div id="menu">
under-menu1 <br />
under-menu2 <br />
under-menu3 <br />
</div>
<div id="gallery_image">
<img src="image1" />
<img src="image2" />
<img src="image3" />
...
</div>
</div>
HTML Code:
#container
{
background-color: black;
width: auto;
height: 100%;
min-height: 900px;
}
#left
{
position: relative;
background-color: rgb(13,122,242);
width: 15%;
min-width: 80px;
max-width: 190px;
height: auto;
min-height: 500px;
float: left;
margin-right: 5px;
overflow: hidden;
border: 1px solid white;
}
.gallery_images
{
background-color: black;
width: 83%;
float: left;
}
Bookmarks