css height help
I have been stuck for a while on this issue
I have a main div with two divs inside it and am trying to get the main and inside divs to expand to fit the content in but am having no joy
for example the home page does not have as much content as my sub page
I have pasted the HTML and CSS below
<img class="top-point" src="images/top-point-1.png" alt="" title="">
<img class="bottom-point" src="images/bottom-point-.png" alt="" title="">
Thank you in advance
margin: 150px 21px 0 23px;
margin: -92px 0 0 200px;
margin: -71.6px 0 0 182px;
margin: 460px 0 0 200px;
margin: 54.6px 0 0 -440px;
from the code you have posted I'm not completely understanding what you are trying to do.
do you have an image of the layout you are trying to achieve, or maybe a link to the site/page, so, we can get an idea of the layout you are wanting?
Could you explain or give an example ?
June 11th, 2014, 03:02 PM
Try use the clearfix it may work well.
content: " "; /* Older browser do not support empty content */
Also give a trail to different width value.