- Let's take a look at index.php, where we have this <div> tag with the class of main. What we want to do is go right between main and the ending </div> tag. We'll create a <div> tag with the class of sidebar, as shown in the following code:
<div class="sidebar"> TEST </div>
We have also added TEST in the next line, which shows up as follows:
Now we want to float the main <div> and set a width, and then have the sidebar float to the right.
- Let's go to the style sheet, where we have main with margin:15px, both at the top and bottom. Let's go ahead and float this to the left, and let's set a width of 68%, as shown in the ...