Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   Text doesn't wrap around iframe (http://forum.bytesforall.com/showthread.php?t=12722)

ItalDave Feb 9, 2011 07:32 PM

Text doesn't wrap around iframe
 
Hi averybody again,
it seems that the simplest things is the hardest for me: I placed a google map iframe inside a page but I can't figure out how to make the text wrap around it.
I used the Gmapsmania plugin following these steps:
1. I put the iframe code into a "new custom field"
2. I put the name of the custom field ([gmap]) inside the page.

This is the result into the wordpress html editor:

Code:

[gmap]<p style="clear:none"> Per qualunque informazione....</p>
and this is the direct link

The problem is that the text isn't wrapping around the map but instead it begins at the very end!

I've added a
Code:

float="left"
property into the iframe code, thus it becames
Code:

<iframe width="425" height="350" frameborder="0" float ="left"  scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.it/maps?f=q&amp;source=s_q&amp;hl=it&amp;geocode=&amp;q=via+omboni+8+milano&amp;aq=&amp;sll=41.442726,12.392578&amp;sspn=17.143848,39.506836&amp;ie=UTF8&amp;hq=&amp;hnear=Via+Giovanni+Omboni,+8,+20129+Milano,+Lombardia&amp;ll=45.477005,9.209649&amp;spn=0.007839,0.01929&amp;z=14&amp;iwloc=A&amp;output=embed"></iframe>
I've also placed the text within a <p> tag with the property style="clear:none" fearing that wordpress css would have some rule already set, like p {clear:both;}.

In the end I'm still facing the same problem....the text would hypen! :confused:


All times are GMT -6. The time now is 08:49 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.