logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > HTML and CSS
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 05-01-2012, 11:57 AM   #1
gigiloumill
gigiloumill's Avatar
 
Join Date: Apr 2009
Location: Miami, FL
Posts: 493
Default Question about css.

Guys, can someone please tell me or point me in the right direction. I have this issue that I have not been able to resolve. How come I can't set the css height on divs to "auto" when including dynamic info in them, such as an iframe or rss feed? The div will close past other divs. In order to be able to include dynamic info on a div, I would need to give the div a height. But, some info, especially an RSS feed, will fluctuate. Thanks
__________________
Keeping your business connected.
www.starionmedia.com
gigiloumill is offline   Reply With Quote
Old 05-01-2012, 12:51 PM   #2
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

a div is 'auto' by default. There's something else on your page that is causing this.
domedia is offline   Reply With Quote
Old 05-01-2012, 01:28 PM   #3
gigiloumill
gigiloumill's Avatar
 
Join Date: Apr 2009
Location: Miami, FL
Posts: 493
Default

TY. If I set a div and in it include some other divs, also set on "auto", the main div will not expand unless I set a height. Here's an example: http://spanglish101.fm/test.html
__________________
Keeping your business connected.
www.starionmedia.com
gigiloumill is offline   Reply With Quote
Old 05-01-2012, 08:32 PM   #4
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

You're floating everything in the parent element.

Add
Code:
height: 1%; overflow: hidden;
to your parent element.
domedia is offline   Reply With Quote
Old 05-02-2012, 11:46 PM   #5
gigiloumill
gigiloumill's Avatar
 
Join Date: Apr 2009
Location: Miami, FL
Posts: 493
Default

Dude, thanks..That did it..You don't know anything about Shoutcast servers do you?..I figured I give it a try...
__________________
Keeping your business connected.
www.starionmedia.com
gigiloumill is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:46 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com