2MuchMark |
05-25-2014 09:46 AM |
Quote:
Originally Posted by Vendzilla
(Post 20099399)
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]
|
Thanks Vendy (really!) :)
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.
Quote:
Originally Posted by RummyBoy
(Post 20099254)
How is HTML5 better than the other HTML?
|
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.
|