Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Mar 2013
    Posts
    80
    Thanks
    45
    Thanked 0 Times in 0 Posts

    Simple float not working

    here is the simple code, cannot manage to get the p floating to the right side..

    <div id="box">
    <img src="image.png">

    <p>
    test testtesttesttesttesttesttesttesttesttesttestt
    esttesttesttesttesttesttesttesttesttesttesttesttest
    test testtesttesttesttesttesttesttesttesttesttestt
    </p>

    </div>


    #box{
    background-color:green;
    width:500px;
    height:300px;
    }
    #box .img{
    float:left;
    }

  • #2
    New Coder
    Join Date
    Mar 2013
    Posts
    80
    Thanks
    45
    Thanked 0 Times in 0 Posts
    Found the problem
    Thanks


  •  

    Posting Permissions

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