nick_whitmarsh Posted May 18, 2007 Share Posted May 18, 2007 Hey guys. I am new to this CSS stuff. I have got a page which displays comments. It currently does not expand my content box, only the page. #profile7 { position:absolute; top:560px; width:355px; height:auto; right: 5px; border:solid #F5F5F5 1px; } This comments sit inside this div and this div is inside #profile { position:relative; top:0px; left: 126px; width:520px; background-color:#FFFFFF; height:auto; min-height:650px; border-left:solid #CCCCCC 1px; border-right:solid #CCCCCC 1px; } If anyone could help this would be much appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/52030-expanding/ Share on other sites More sharing options...
leap500 Posted June 7, 2007 Share Posted June 7, 2007 Hi I think your problem is due to the use of an absolutely positioned element, which will not affect the size of other divs on your page. Can you post the page code so that I can see how you are laying out the divs? Quote Link to comment https://forums.phpfreaks.com/topic/52030-expanding/#findComment-270272 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.