Jump to content

How to apply padding around google map


newcoder1010

Recommended Posts

Hello,

 

I have two fields as below.

<div class="field field-name-body field-type-text-with-summary field-label-hidden">.........</div>


<div class="field field-name-field-map field-type-text field-label-above"> google map goes here</div>
CSS for map class.
.field.field-name-field-map.field-type-text.field-label-above {
    width: 50%;    float: left;    margin-top: -190px;
}
Now, page looks like this: How it is looking now. How can I apply padding around the map? So, it does not overlap?

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...