Hello. I am having a hard time getting my images to align correctly. I am trying to insert images with text wrapped around them...image on the left...text to the right...another image below the first image...text to the right of the second image....so forth..The problem is WP is not inserting any kind of breaks between my images, so they are all cascading to the right....kind of like steps. When I go into the HTML editor, and add
multiple times in between each image, it corrects it, until I switch back to visual editing mode, then my breaks are deleted. Any idea as to what is going on here and how I can achieve my desired affect?
Thanks
April
WordPress strips extra line feeds, there are some different editors that are a supposed to work better.
In the mean time try this: <br class="blank" /> inserted when in HTML mode for a hard line feed.
If you post your URL others can look at your style sheet if you are still having problems.
Good Luck
StrawburryMiwk
Member
Posted 2 years ago #
I constantly have this problem. Check your CSS and see how the alignment is set up.
Otherwise I usually click on the "HTML" tab when editing posts and manually type in something like this:
<img align="left" style="margin-right:10px;" src="/images/blah.jpg" width="100" height="32" alt="Blah"></img>
Such HTML would place the image to the left of your text with a 10 pixel space between the image and whatever text is immediately to the right of it.
StrawburryMiwk
Member
Posted 2 years ago #
I just re-read your post. I did something similar recently.
Add a ton of < /br> tags while in the HTML tab and hit "Update" to save the post. Do not switch to the WYSIWYG/visual tab.
Check the live page and see if that worked. If so, then never ever go to the visual editor again.
Sort of a hack, I know, but only thing I figured out for now.
Hi. Thanks. That seems to be working. Thank you for that little code snippet. If I encounter further problems, I will reply with a URL.
You said there are different editors that work better....are you referring to different editors we can use for WordPress or are you speaking of outside of WordPress altogether?
Thanks StrawburryMiwk.
It's so annoying! I was getting so fed up last night. LOL Problem with not going back into the visual editor is I don't know enough about coding to stay completely inside the html editor. I would go nuts! Thanks for the above code snippet.
I think the editors are "Plug-ins" I get along well enough with the basic stock editor and have just seen some references to other editors in other threads.
Try looking here or start a new thread asking for help selecting a new editor if someone does not drop in with a suggestion here.
http://wordpress.org/extend/plugins/
tiny mce advanced
dean's fckeditor
are 2 off the top of my head.
I also use the default, but have heard good things about dean's
Thanks I will check them out!