Results 1 to 7 of 7

Thread: div Float

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2005
    Location
    Cebu
    Posts
    607

    Resolved div Float

    I'm not sure if I'm doing it right but it doesn't seem to view right. This is the code btw.
    Code:
    <html>
    <head>
    <style>
    body {
    font: 9pt arial;
    }
    div.float {
    float:left;
    }
    </style>
    </head>
    <body>
    <div class="div.float">
    <img src="31peace.jpg"></div>
    Kids take up arms as way out of poverty, study says
    November 16, 2005<br>
    ELSEWHERE in the world, children are abducted and forced or tortured
    into joining armed movements. But in the Philippines, they apparently
    freely do so.<br>
    <br>
    </body>
    </html>
    All I just need is the image to float left and the text besides it on the right. Something wrong with my code?
    Last edited by nebulom; Dec 23rd, 2005 at 03:13 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width