I have a liquid layout and now need to add some content divs to a one column. I have tried to split the columns into 2 the leftside and the rightside. The first div I have started on, is sitting underneath the main content box instead of two the side, I have checked the div endings and they seem fine.
Can anyone say where I am going wrong?
Link is: puddypaws.co.uk/test.html
puddypaws.co.uk/test/css I have not provided a proper hyperlink as it is adopting another site until the server works.
hi
What's ap ?
I tried your way but it was worse than ever, think I am learning on the web now, though hoped someone could explain why it was not in the box.
The way you have it now, the .leftside is dropped out of it's containing .textbox_inner because of your ap. An ap positioned element is outside the normal flow of the document and can't expand it's container. Well, that and the 235px top margin you put on .leftside. Take that off and it moves up but still doesn't expand .textbox_inner.
Your .leftside and .rightside can be laid out the same way you did your left and right header divs.
The online version does not look to be quite sorted yet.
Your .rightside is closed too soon -
Code:
<div class="textbox_inner">
<div class="leftside">
<h2>Our Services</h2><p>We re-home donated furniture, household items and baby equipment free to families leaving hostels and disadvantaged people of all ages around Lewisham.</p>
</div>
<div class="rightside"> <!--this closing tag is too soon</div>--> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo
ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis
parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec,
pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede
justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus
ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis
pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean
vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae,
eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a,
tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean
imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi.
Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus,
sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc,
blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante
tincidunt tempus. Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus,
sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Curabitur
ullamcorper ultricies nisi. Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus
eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque
sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem.
Maecenas nec odio et ante tincidunt tempus. Nam eget dui. Etiam rhoncus.
Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit
amet adipiscing sem neque sed ipsum.</p>
<!--end .rightside belongs here--></div>
</div><!--textbox_inner-->