January 6, 2009  Forums    
LASC Forum Minimize
Search Forum Home 
 
     
  General  Website - "How To..."  How to edit con...
 
 
 How to edit content in a Text/HTML Module to allow image and text next to each other... 
 
 
robertz
19 posts
How to edit content in a Text/HTML Module to allow image and text next to each other... 
Posted: 13 Apr 06 3:02 PM
  

...without using table <table> tag?

Many times you may want to import an image and then start typing text next to it but the default behavior of almost all HTML editors is to encapsulate your image in a paragraph <P> tag followed by the same with your text and because paragraph tags stack on top of each other you end up with a vertical you don't want.

Don't dispair and add a <Div> and a <Span> tags to your solution.  To do so, you need to change the editor mode to HTML by clicking the HTML tab at the bottom.

Now, take a breath and a good pair of spectacles (that's why programmers are young people and not old fogeys, like me) and do this:

<DIV><P><IMG... make sure you add width=xxx and align=xxx parameters within the img tag then see to encapsulate the image like this ></P></DIV><SPAN><P> your text goes here and make sure to end it with </P></SPAN>

Ends (those </...> tags are not necessary but a good housekeeping habit.

In short, encapsulating <P> tags with <DIV><SPAN> will allow you to nicely float your text next to the image.

 
  
   General  Website - "How To..."  How to edit con... 
   
   
   
Forum Home  Search     

Home | Photo Gallery | Forums | Resources | Contact Us
  Copyright (c) 2009 LASC   Terms Of Use  Privacy Statement  Powered by DataMinds at myCommunityHost.com