When I add html to a story like to align an image it dis-aligns the whole site how do I fix this?

example:

<img src="http://www.fansportsunion.com/fan/files/mission.jpg" align="right"><img src="http://www.fansportsunion.com/fan/files/mission.jpg" align="left">

Comments

touchcrew’s picture

I have the full HTML turned on but it still messes up the layout.

http://life1134.wordpress.com/
http://www.touchcrew.com/

touchcrew’s picture

vm’s picture

if that is the code being used, you aren't closing your img tag. when you are having trouble with HTML run your code through a validator
_____________________________________________________________________________________________
give a person a fish and you feed them for a day but ... teach a person to fish and you feed them for a lifetime

touchcrew’s picture

vm’s picture

The following taken from : http://www.w3schools.com/tags/tag_img.asp


Differences Between HTML and XHTML
In HTML the <img> tag has no end tag.

In XHTML the <img> tag must be properly closed.

<img src="http://www.fansportsunion.com/fan/files/mission.jpg" align="right"> you need a </img> at the end in XHTML.

try the closing tag.

The other thing I notice you are doing that is unnessessary is you are using absolute urls to get to the images, when you can be using relative urls.

I would use <img src="/files/mission.jpg" align="right"></img>

Using the garland theme, I cannot replicate your problem and can use <img src="/misc/files/mission.jpg" align="right"> without a closing img tag.
_____________________________________________________________________________________________
give a person a fish and you feed them for a day but ... teach a person to fish and you feed them for a lifetime