Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6477021
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:53:49+00:00 2026-05-25T06:53:49+00:00

I am trying a google.maps iframe to use all height and all width; tried

  • 0

I am trying a google.maps iframe to use all height and all width;

tried with CSS

iframe{min-width:100%;height: 100%;min-height: 2000px;overflow:auto;}

even with jquery

$(document).ready(function() {
   alert($('#contenido').height()+'altura contendio');
   alert($('#contenedor').height()+'altura contenedor');
   alert($('iframe').height()+'altura iframe');
   $('iframe').css('height',$('#contenido').height()+'px');
   alert($('iframe').height()+'altura iframe');
});

or

$(document).ready(function() {
   alert($('#contenido').height()+'altura contendio');
   alert($('#contenedor').height()+'altura contenedor');
   alert($('iframe').height()+'altura iframe');
   $('iframe').css('height','200%');
   alert($('iframe').height()+'altura iframe');
});

the alerts are like 4254 or so…

just in case #contenido CSS is

#contenido
{
    width: 100%;
    height:100%;
    display:block;
    -webkit-perspective: 1000;
    -webkit-backface-visibility: hidden;

}

Any idea? this is driving me crazy… 🙁

almost forgot, HTML (i will paste it all, just in case)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <title>lich-t // KONTAKT</title>
                <meta name="viewport" content="width=device-width" />
        <link href="css/style.css" rel="stylesheet" type="text/css" />
        <link rel="stylesheet" media="all and (max-device-width: 320px)" href="iphone3.css" />
        <link rel="stylesheet" media="all and (max-device-width: 640px)" href="iphone4.css" />
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
                <script type="text/javascript" src="js/dropDown.js"></script>
    </head>
    <body class="kontakt_map">


            <div id="head" class="section"><a href="index.html"><img src="img/logo_small.png" alt="lich-t" id="logo_small" /></a><h3><a href="locations.html"></a>KONTAKT</a></h3></div>
            <div id="contenedor"><div id="contenido">
                <iframe frameborder="0" scrolling="no" height="750" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=Calle+de+Blanquerna,+Palma,+Espa%C3%B1a&amp;aq=0&amp;sll=39.470059,2.72006&amp;sspn=0.010121,0.022724&amp;vpsrc=6&amp;ie=UTF8&amp;hq=&amp;hnear=Carrer+de+Blanquerna,+Palma,+Illes+Balears,+Spain&amp;ll=39.580489,2.649422&amp;spn=0.023153,0.036478&amp;z=14&amp;iwloc=A&amp;output=embed"></iframe>
                <div id="panel" class="floating_right">
                    <ul class="right floating">
                        <li><a href="#"><img src="img/location_azul.png" alt="Westlich-t" /></a></li>
                        <li><a href="#"><img src="img/location_rosa.png" alt="Sudlich-t" /></a></a></li>
                        <li><a href="#"><img src="img/location_naranja.png" alt="Sudlich-t" /></a></a></li>
                    </ul>
                </div>

            </div>
    </div>  



    </body>
</html>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T06:53:50+00:00Added an answer on May 25, 2026 at 6:53 am

    Iframes are obsolete for page layout. Never use them instead of good CSS layout, even table-based layout is better.
    Also, it will be discontinued in future, I highly recommend you to use something else like ajax in Google maps API.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

GOOGLE MAPS API V3 is what i'm trying to use. I have all the
I'm trying to use the Google maps geocode API to return all parks for
I'm trying to make a Google Maps widget for my website but all of
I'm trying to use the MVC objects in Google Maps version 3. What I
I'm trying to use jquery ui dialog and google maps... so when an user
I'm having trouble with Internet Explorer when trying to use Google Maps. It works
I am trying to use google maps inside a jquery mobile app. The map
Am trying to use google.loader.ClientLocation along with the maps api to get the location
I'm trying to use a Google Maps Street View as a background using a
I'm experiencing a problem while trying to use google maps api v3 (with marker

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.