Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


making my Div longer when content gets put in



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> HTML Forum
View previous topic :: View next topic  
Author Message
numerical25



Joined: 17 Aug 2006
Posts: 7

PostPosted: Wed Mar 12, 2008 9:43 pm    Post subject: making my Div longer when content gets put in Reply with quote

Im trying to have it where when content is placed inside a div. The div gets longer . Right now if I put a picture or nest another div and make the nested div longer in hieght, they just overlap the div their inside of. how do i get it where the div will not allow anything inside of it to overlap it ???
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
rangana
500+ Club


Joined: 27 Feb 2008
Posts: 627
Location: Cebu City Philippines

PostPosted: Thu Mar 13, 2008 1:50 am    Post subject: Re: making my Div longer when content gets put in Reply with quote

By setting the div's height to 100% will provide the aide.

Note that this will depened on the div's container's height Wink
Back to top
View user's profile Send private message Yahoo Messenger
numerical25



Joined: 17 Aug 2006
Posts: 7

PostPosted: Thu Mar 13, 2008 7:30 pm    Post subject: Re: making my Div longer when content gets put in Reply with quote

Ok thanks alot. The only problem is that it works in explorer. But not in mozilla ??? why ??
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
dflynn
500+ Club


Joined: 03 Oct 2007
Posts: 588
Location: Guelph, Canada

PostPosted: Thu Mar 13, 2008 8:11 pm    Post subject: Re: making my Div longer when content gets put in Reply with quote

try changing your css to:

position: static;
height: auto;

It's what I have working in mine to allow the parent div grow with the nested divs.

cheers
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
rangana
500+ Club


Joined: 27 Feb 2008
Posts: 627
Location: Cebu City Philippines

PostPosted: Fri Mar 14, 2008 12:53 am    Post subject: Re: making my Div longer when content gets put in Reply with quote

numerical25 wrote:
Ok thanks alot. The only problem is that it works in explorer. But not in mozilla ??? why ??


Could you provide us a link to your site?..Rolling Eyes
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> HTML Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap