22 users online (0 members and 22 guests)  


  Results 1 to 4 of 4

Related

  1. How do I align Text in the same line?    Forum: HTML Forum
    Replies: 10
  2. Replies: 1
  3. picture and text hyperlinks on same page    Forum: HTML Forum
    Replies: 6
  4. I have a Problem with text line spacing    Forum: HTML Forum
    Replies: 1
  1. #1
    Stephens's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2002
    Location
    Illinois
    Posts
    1

    I want to put more than one line of text next to a picture....HOW!?!?!?!

    If I don't find out how to do this or if it is even possible with html then i'll most surely cry! Please soemone help me cus all the sites i've been to for help are bad and don't tell it how it is! Please help!

  2. #2
    Doorknob's Avatar
    Super Newbie

    Status
    Offline
    Join Date
    Jun 2002
    Location
    Malaysia
    Posts
    316
    use a table


    change the rowspan to the number of lines u want to display next to the picture. add a <td>text</td> for each line of text u want to add
    <table>
    <tr>
    <td rowspan=2><img src='imgurl.pg'></td>
    <td>text</td>
    </tr>
    <tr>
    <td>text</td>
    </tr>

    Last edited by HTML; 11-28-2002 at 12:09 PM.

  3. #3
    benzden's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Feb 2002
    Location
    San Antonio, Texas
    Posts
    652
    Without tables, it's 'always' necessary to use the ALIGN=left (or right) attribute inside the <IMG ...> tag in order to get text to align next to rather than under the image. Depending upon how many images are there and other complexities of the code, the <BR clear=right> (or left) tag may also be needed.

    I often use the <P> versus the <BR> in the first line of text to center the text next to an image a little larger - but viewers with larger screen resolutions that 800x600 will see it all differently -- using tables will allow one to design text/image combinations that will appear the same at any screen resolution.

  4. #4
    Doorknob's Avatar
    Super Newbie

    Status
    Offline
    Join Date
    Jun 2002
    Location
    Malaysia
    Posts
    316
    or divs



Tags for this Thread