I am trying to align three divs and i am completely stuck on how to start it. I am going to attempt a basic design below:
|-----------------|-------------|
|div 1 | |
|-----------------| |
| | |
| div2 | div3 |
| | |
|-----------------|-------------|
Hopefully that will help you get an idea. My plan was to make one div surround all of this to cender it and float div3 to make it align on the side of the div1 and div2. As shown below:
<div align="center>
<div id="div1">
</div>
<div id="div2>
</div>
<div id="div3" style"float: left; position: inherit;">
</div>
</div
Is this even close or possible? When i test it the div3 just aligns below and off of the page. so i thought making div1 enclose div2 would help but because it contains an image it messes up.
If you cant understand any of this let me know i will try to explain better, or any links that may help with alignment will be appreciated.
Live by the code, Die by the code!!
|-----------------|-------------|
|div 1 | |
|-----------------| |
| | |
| div2 | div3 |
| | |
|-----------------|-------------|
Hopefully that will help you get an idea. My plan was to make one div surround all of this to cender it and float div3 to make it align on the side of the div1 and div2. As shown below:
<div align="center>
<div id="div1">
</div>
<div id="div2>
</div>
<div id="div3" style"float: left; position: inherit;">
</div>
</div
Is this even close or possible? When i test it the div3 just aligns below and off of the page. so i thought making div1 enclose div2 would help but because it contains an image it messes up.
If you cant understand any of this let me know i will try to explain better, or any links that may help with alignment will be appreciated.
Live by the code, Die by the code!!