/ Published in: CSS
This code will create two side by side div boxes. Just adjust the width as needed.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/*This is the CSS*/ .box1{ position: relative; width: 250px; padding: 5px; float: left; } ----------------- <!-- This is the HTML --> <div class="box1"> <p>Content Here</p> </div>
URL: http://codepunk.hardwar.org.uk/acss05.htm