Hi,
I have a container div, which contains two divs, which need to appear side by side. Everything is fixed width, but the two divs are appearing with a line break. I tried to fix this by converting them into spans, but even then they appeared with a line break.
The style sheet properties for these are
I have tried everything, such as setting float properties for the two, display:inline for #container, but nothing works. Can some one please tell me how to fix this.
I have a container div, which contains two divs, which need to appear side by side. Everything is fixed width, but the two divs are appearing with a line break. I tried to fix this by converting them into spans, but even then they appeared with a line break.
The style sheet properties for these are
Code:
#container{ width:992px; background-image:url(../images/content_background.png); background-repeat:repeat-y; padding-top:27px; margin-left:auto; margin-right:auto; } #div1{ width:45.31em; margin-left:2.31em; margin-bottom:0.94em; } #skyscraper160x600{ width:10.00em; height:37.75em; margin-right:27px; }
Comment