Jump to content

Expanding


nick_whitmarsh

Recommended Posts

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.

Link to comment
Share on other sites

  • 3 weeks later...

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?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.