![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Videochat Solutions
Industry Role:
Join Date: Aug 2004
Location: Canada
Posts: 49,238
|
IFrames and HTML5 Help
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!
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Zph7YXfjMhg
Industry Role:
Join Date: Nov 2002
Location: In Your Skull
Posts: 15,302
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Videochat Solutions
Industry Role:
Join Date: Aug 2004
Location: Canada
Posts: 49,238
|
Quote:
__________________
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
scriptmaster
Industry Role:
Join Date: May 2006
Location: Serbia
Posts: 5,237
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Dec 2009
Posts: 2,157
|
How is HTML5 better than the other HTML?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Registered User
Industry Role:
Join Date: Mar 2013
Location: Sweden
Posts: 95
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Biker Gnome
Industry Role:
Join Date: Mar 2004
Location: cell#324
Posts: 23,200
|
Quote:
You can always make a <div> container like Code:
#div-wrap { position: relative; width: auto; height:300px; margin: 10px auto; padding: 10px; background: transparent; } 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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Videochat Solutions
Industry Role:
Join Date: Aug 2004
Location: Canada
Posts: 49,238
|
Quote:
![]() But the height can't be a fixed amount, like 300px. It has to be a percentage of the total height of the page. For example, if you take your browser window now and reduce the horizontal size, this GFY page will change to always fit within the browser. But if you do this with an iframe, the horizontal resizing works but not the vertical resizing. What I am trying to do is make a page that displays a frame on a mobile device. HTML5 still supports iframes, but has limited or no support for regular frames. If I want the rest of the page to display correctly on mobile I have to use HTML5.
__________________
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Videochat Solutions
Industry Role:
Join Date: Aug 2004
Location: Canada
Posts: 49,238
|
Quote:
__________________
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Biker Gnome
Industry Role:
Join Date: Mar 2004
Location: cell#324
Posts: 23,200
|
Quote:
__________________
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Biker Gnome
Industry Role:
Join Date: Mar 2004
Location: cell#324
Posts: 23,200
|
Compliance with html5 standards means it works on mobile and tablets, where a lot of your traffic is going to come from.
That's why most everyone uses divs instead of tables Great tool to make sure your code is good http://validator.w3.org/
__________________
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
scriptmaster
Industry Role:
Join Date: May 2006
Location: Serbia
Posts: 5,237
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |