Vspace, Hspace
-
I tried to post an article blurb with a picture next to it at the following address: http://real-agenda.com/ It is the first article titled: “Unregulated Greed has Destroyed the Capitalist System”. I used the html code below.
<img src=”http://d2eosjbgw49cu5.cloudfront.net/soxfirst.com/imgname–economics_courses_create_greed—50226711–images–greed_trust2.jpg” hspace=”10″ vspace=”10″ width=”300″ height=”300″ align=”left”/>It seems the hspace and vspace commands did not take effect because the text is still glued to the image.
Can anyone please help me fix it so the text appears separated from the picture instead?
The blog I need help with is: (visible only to logged in users)
-
Did you copy your code from somewhere? :
<h2><a href="http://real-agenda.com/2010/08/13/unregulated-greed-has-destroyed-the-capitalist-system/" target="_self">“Unregulated Greed has Destroyed the Capitalist System”</a></h2> <p><img src="http://d2eosjbgw49cu5.cloudfront.net/soxfirst.com/imgname--economics_courses_create_greed---50226711--images--greed_trust2.jpg" alt="" hspace="10" vspace="10" width="300" height="300" align="left" />What deregulation did was to permit Wall Street to push the deregulated industries– phone service, airlines, trucking, and later Wall Street itself– to focus on profits and not on service. Profits were increased by curtailing service, by pushing up prices and by Wall Street creating fraudulent financial instruments.</p><a href="http://real-agenda.com/2010/08/13/unregulated-greed-has-destroyed-the-capitalist-system/"><img class="alignleft" style="margin: 10px;" title="picture" src="http://d2eosjbgw49cu5.cloudfront.net/soxfirst.com/imgname--economics_courses_create_greed---50226711--images--greed_trust2.jpg" alt="" width="300" /></a> -
I had copied the code but changed the location of the picture and the parameters of the size and vspace and hspace.
-
Well, somehow you got part of the first line of your text inside the a tags.
The second code should work, but I’ll put it here so you can adjust to your liking.
The width is now 300
height is 210
vertical margin is 10
horizontal margin is 5
<a href="http://real-agenda.com/2010/08/13/unregulated-greed-has-destroyed-the-capitalist-system/"><img class="alignleft" style="margin: 10px 5px;" title="picture" src="http://d2eosjbgw49cu5.cloudfront.net/soxfirst.com/imgname--economics_courses_create_greed---50226711--images--greed_trust2.jpg" alt="" width="300" height="210" /></a> -
Yes. I figured that out after reading your code. I had to tweak a bit what you posted because it wasn’t wrapping around. But now is fine. Thanks!
-
- The topic ‘Vspace, Hspace’ is closed to new replies.