Log In · Register

 
 
Closed TopicStart new topic
div and iframe trouble :(
Sabastian
post Mar 24 2007, 12:11 PM
Post #1


;o
***

Group: Member
Posts: 70
Joined: Mar 2007
Member No: 509,821



Could anybody show me how to make the div layer and the iframe height auto adjust to how much content there is in the layer.

heres a screen shot.
http://img102.imageshack.us/img102/6679/helpgk8.jpg

the actual website I would like to fix
www.sillyfishes.niamhme.net

and heres the code I have in right now

QUOTE
<div style="position:absolute; top:435px; left:111px; width:358px; border:none;height:3000px;border:none;">


<iframe
src="http://www.sillyfishes.niamhme.net/cutenews/show_news.php" width="360px" height="3000px" noscroll="bottom" border="none" position="absolute"
name=IFRAME></iframe>


</div>


could you also show me how to get rid of that ugly border around the div

Thanks :)
 
*mipadi*
post Mar 24 2007, 05:06 PM
Post #2





Guest






If you don't use a height attribute in your CSS specification, then the height will dynamically adjust to the amount of content.
 
Sabastian
post Mar 26 2007, 10:35 AM
Post #3


;o
***

Group: Member
Posts: 70
Joined: Mar 2007
Member No: 509,821



I dont have a height specification in my css and when I take out the height specification from the iframe code, it comes with a scroll bar..
 
*mipadi*
post Mar 26 2007, 07:32 PM
Post #4





Guest






QUOTE
<div style="position:absolute; top:435px; left:111px; width:358px; border:none;height:3000px;border:none;">

That looks like a height specification.
 
Sabastian
post Mar 27 2007, 10:45 AM
Post #5


;o
***

Group: Member
Posts: 70
Joined: Mar 2007
Member No: 509,821



oh sorry when you said css I was thinking of something else, But yea I figured out that its not the div its the iframe. And when I take out the height specicifaction out of the iframe code it comes out with a scroll bar.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: