Jump to content

Recommended Posts

Posted

I'm having an awful time figuring out how to set the height of the #center div to expand based on its content. I'm guessing it has something to do with my two float divs inside it.

 

http://www.kaulaiscool.com/css2/feature.htm

 

 

looks fine in IE, but in FF and Opera you see the problem.

 

Any ideas what I can do, I tried

http://www.webmasterworld.com/forum83/200.htm

 

which didnt work.

 

I thought about just giving #center a fixed height, but I guess thats not the right way to do it. Any help would be appreciated!

 

 

paul

Posted

Sorry for wasting peoples time, I added at the end of the #center div

 

 

<div id="clear"> </div>

 

 

#clear { clear: both;

position: relative;

}

 

 

and alls good now

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...