Return to Snippet

Revision: 10246
at January 8, 2009 13:00 by cbx


Updated Code
/*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>

Revision: 10245
at December 14, 2008 00:39 by cbx


Initial Code
/*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>

Initial URL
http://codepunk.hardwar.org.uk/acss05.htm

Initial Description
This code will create two side by side div boxes.  Just adjust the width as needed.

Initial Title
Side By Side Div Boxes

Initial Tags


Initial Language
CSS