Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
How to place a div box next to another centered div?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Queef" data-source="post: 238348" data-attributes="member: 19889"><p>I swear I've showed people how to do this on here about 4 times.</p><p></p><p>Move your left and right content box codes below the main content box.</p><p></p><p>You need to create a container with a transparent background that has a set width, I'm assuming in this case its going to be 750px. Then Center that box and position the codes of the 2 content boxes inside the code for the container. Something like this,</p><p></p><p>[CODE]<div class="content-container"></p><p> <div id="right-box"></p><p></p><p> </div></p><p> <div id="left-box"></p><p></p><p> </div></p><p></div>[/CODE]</p><p></p><p>Im not writing your css, its not rocket science.</p><p></p><p>(Give either the right or left box a left or right margin to separate the 2)</p></blockquote><p></p>
[QUOTE="Queef, post: 238348, member: 19889"] I swear I've showed people how to do this on here about 4 times. Move your left and right content box codes below the main content box. You need to create a container with a transparent background that has a set width, I'm assuming in this case its going to be 750px. Then Center that box and position the codes of the 2 content boxes inside the code for the container. Something like this, [CODE]<div class="content-container"> <div id="right-box"> </div> <div id="left-box"> </div> </div>[/CODE] Im not writing your css, its not rocket science. (Give either the right or left box a left or right margin to separate the 2) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
How to place a div box next to another centered div?
Top