View Single Post
Old 05-25-2014, 09:25 AM  
Vendzilla
Biker Gnome
 
Vendzilla's Avatar
 
Industry Role:
Join Date: Mar 2004
Location: cell#324
Posts: 23,200
Quote:
Originally Posted by ********** View Post
Howdy -

I have an HTML5 Page and I need to add an iframe element with a vertical size that is 80 to 100% the VERTICAL size of the page.

Setting width=100% works, but setting height=100% does nothing.

Help!
Going to need more info on your code to fix that. Going to depend on your CSS probably.
You can always make a <div> container like

Code:
#div-wrap { position: relative; width: auto; height:300px; margin: 10px auto; padding: 10px; background: transparent;
}
in the header or css style sheet

then put in
Code:
<div id="div-wrap">...,[/div]
__________________
Carbon is not the problem, it makes up 0.041% of our atmosphere , 95% of that is from Volcanos and decomposing plants and stuff. So people in the US are responsible for 13% of the carbon in the atmosphere which 95% is not from Humans, like cars and trucks and stuff and they want to spend trillions to fix it while Solar Panel plants are powered by coal plants
think about that
Vendzilla is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote