I have Googled everything I could think of to make my three DIV columns to line up evenly and I haven't found a solution. I just want three evenly aligned places to place a H3 and some text. Just like on this theme below the slider.
3 Columns of DIVs (I think this one stumps all CSS newbies.) Help?
7
I have Googled everything I could think of to make my three DIV columns to line up evenly and I haven't found a solution. I just want three evenly aligned places to place a H3 and some text. Just like on this theme below the slider.
Here's everything I have in my body.
And here's my CSS for the three DIVs that I'm trying to get to line up.
I've tried everything I can find and think of. Any help is appreciated. I'm not working on anything important, I'm just learning by experience and so far, this is the only thing that stumps me. I hope to settle this and learn from the solution so I can place columns fluently in the future!
Here's everything I have in my body.
Code:
<body> <div id="wrap"> <div id="header"> <img id="logo" src="images/logo.png" alt="Logo"> <ul> <li><a href="contact.html">Contact</a></li> <li><a href="about.html">About</a></li> <li><a href="services.html">Services</a></li> <li><a href="index.html">Home</a></li> </ul> </div> <div id="left"> <h3>Feature One</h3> </div> <div id="right"> <h3>Feature Three</h3> </div> <div id="mid"> <h3>Feature Two</h3> </div> </div> </body>
And here's my CSS for the three DIVs that I'm trying to get to line up.
Code:
#left {
width: 300px;
float: left;
clear: none;
position: absolute;
}
#right {
width: 300px;
float: right;
}
#mid {
width: 300px;
padding: 10px;
margin: 0 150px;
} - wayfarer
- [ 1 ] Thanks
- SteveJohnson
- [ 1 ] Thanks
- [1] reply
- wayfarer
- Neodism
Next Topics on Trending Feed
-
7