Adjust Height of Map in Div - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:Height

Description

Adjust Height of Map in Div

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
.et_pb_map iframe {
   height:401px !important;
}
</style> <!--from   www.j a  v a2 s.  c  o  m-->
 </head> 
 <body> 
  <div class="et_pb_map"> 
   <iframe src="https://www.google.com/maps/embed?pb=!1m10!1m8!1m3!1d15814.169223547646!2d81.68323447537843!3d7.732153354360079!3m2!1i1024!2i768!4f13.1!5e0!3m2!1sen!2slk!4v1500950148785" width="600" height="250" frameborder="0" style="border:0" allowfullscreen></iframe> 
  </div> 
  <h4> Current Height is 250 px </h4>  
 </body>
</html>

Related Tutorials