Title: Embed Google map problem!
Last modified: August 19, 2016

---

# Embed Google map problem!

 *  [phuile](https://wordpress.org/support/users/phuile/)
 * (@phuile)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/embed-google-map-problem/)
 * I need to embed Google maps onto a WordPress page, and I want all the maps to
   be embedded align right. So I position the embed code at the appropriate places
   and set the algin to “right”. The maps now algined right, but the “View larger
   map” link is not aligned right. So there is a block of my text, white gap (space)
   where the map is aligned right, then the “View larger map” link not aligned right
   after the gap, then the rest of my text.
 * I see the that </iframe> only enclosed the map but not the “View larger map” 
   link code. Is that the problem? And how can I solve this?
 * I just want the map with the “View Larger Map” link under it, both aligned right.
 * Please help!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [molnarm](https://wordpress.org/support/users/molnarm/)
 * (@molnarm)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/embed-google-map-problem/#post-1878035)
 * “I see the that </iframe> only enclosed the map but not the “View larger map”
   link code. Is that the problem?”
 * Yes.
 * “And how can I solve this?”
 * Just wrap the whole thing in a div:
 *     ```
       <div style="text-align:right";>
       map stuff (iframe + link)
       </div>
       ```
   
 *  Thread Starter [phuile](https://wordpress.org/support/users/phuile/)
 * (@phuile)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/embed-google-map-problem/#post-1878068)
 * Thanks, molnarm. I tried that and the link ended up in the middle – so block 
   of text on the left, the link in the middle, the map on the right. What I ideally
   want is the link to the below the map on the right (since the map is on the right).
 * I tried just enclosing the iframe + link within a simple <div>, without the style.
   In that instant, the link appear on the left above the block of text before the
   right aligned map in the iframe, even though the code for the link is “written”
   below the iframe. Does anyone know why that is?
 *  [molnarm](https://wordpress.org/support/users/molnarm/)
 * (@molnarm)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/embed-google-map-problem/#post-1878100)
 * I just found out that the link tag has text-align set to left, which overrides
   previous settings. Delete that attribute and try again with a right-aligned div.
 *  Thread Starter [phuile](https://wordpress.org/support/users/phuile/)
 * (@phuile)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/embed-google-map-problem/#post-1878132)
 * I have already tried deleting it (so the alignment is solely from the div style,
   and changing it to “right” but both gave similar results to what I described …
   so I still haven’t been able to solve this.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Embed Google map problem!’ is closed to new replies.

## Tags

 * [embed](https://wordpress.org/support/topic-tag/embed/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [phuile](https://wordpress.org/support/users/phuile/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/embed-google-map-problem/#post-1878132)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
