Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 09-07-2009
Member
 
Join Date: Oct 2008
Posts: 101
Html need to know about text wrap padding around an image

Hello friends,


I want to know about text wrap padding around the image.
I need some information about adjusting the space between images & the text wrapping around the images. if you can show some more details about the topic then it will be a great help.

Thanks,
ComPaCt
Reply With Quote
  #2  
Old 09-07-2009
Member
 
Join Date: May 2008
Posts: 43
Re: Html need to know about text wrap padding around an image

There are two common methods explained here for wrapping text around images in HTML: The image attribute method and the table alignment method. You can also use CSS to wrap text around images.

The code used to make this alignment happen was:
Code:
<img src="panda.gif" width="80" height="80" align="right">
You could also use the following depending on where you want images placed in relation to text. Here are other alignment options:

align="left"
align="right"
align="top"
align="middle"
align="bottom"
align="baseline"
align="texttop"
align="absmiddle"
align="absbottom"

Depending on the way text flows you may decide that you want a less crowded look or you might want to add a caption above and/or below the image. This can be achieved with the table alignment method. The steps for the table method are listed below.

Code:
<table width="80" border="0" align="right" cellpadding="5" cellspacing="0">
<tr>
<td align="center" valign="top">Caption Area<br>
<img src="images1/panda.gif" width="80" height="80"><br>
Caption Area</td>
</tr>
</table>
Using this method allows you to also add a caption top and/or bottom of the image if you like.
Reply With Quote
  #3  
Old 09-07-2009
Member
 
Join Date: Oct 2008
Posts: 101
Re: Html need to know about text wrap padding around an image

Thanks for the prompt reply.
Ill definitely give it a try.

ComPaCt
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Html need to know about text wrap padding around an image"
Thread Thread Starter Forum Replies Last Post
Css padding in html klite Software Development 7 31-12-2009 11:00 AM
Creating input text with background image in HTML Measurer Software Development 4 23-12-2009 10:13 PM
How to put text beside an image in HTML KADRI Software Development 3 01-10-2009 09:35 PM
Insert image in text box with word wrap IpsA MS Office Support 2 25-05-2008 01:07 PM
In HTML table how can I wrap the text ? Matellis Software Development 5 20-05-2008 07:48 PM


All times are GMT +5.5. The time now is 02:22 PM.