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 6 of 6
  1. #1
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,857
    Thanks
    22
    Thanked 157 Times in 148 Posts

    text wrap question...

    another easy one, probably....

    I want the text to be flush at the top and right of the image, inside the table cell....

    Here is my code:

    PHP Code:
    <center>
    <
    table border="1" cellpadding="10" cellspacing="0" width="100%">
    <
    tr>

    <
    td>

    <
    div><IMG SRC="ASUS_P4SP-MX_SiS651_2.jpg" style="margin:0;margin-right:10"></div>
    <
    div style="float:right"><span style="font-weight:bold">Mother Board -</span><spanSocket 478 for Intel Pentium 4Celeron On-die 512KB/256KB L2 Cache with full speed Intel® Hyper-Threading TechnologySupports next generation Intel Prescott CPU.<br>Price</span><span style="color:red"> $56.71</span><br><span>Part#MB1212</span></div>

    </td>


    </
    td>
    </
    tr>
    </
    table>
    </
    center
    thanks.
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :-)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!
    ♪♪ …Need Web Hosting For My YouTube-To-Mp3 Conversion Software? Check Here !!… ♪♪

  • #2
    Senior Coder
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    1,063
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Remove the float: right;
    On the div which contains the image, add float: left;
    voila!
    Shawn

  • #3
    Senior Coder
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    1,063
    Thanks
    2
    Thanked 0 Times in 0 Posts
    You could even remove all the divs and simply float the image itself left
    Shawn

  • #4
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    oof... I'm seeing double.

  • #5
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,857
    Thanks
    22
    Thanked 157 Times in 148 Posts
    Excellent, thanks, that worked....

    rmedek -->
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :-)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!
    ♪♪ …Need Web Hosting For My YouTube-To-Mp3 Conversion Software? Check Here !!… ♪♪

  • #6
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    Quote Originally Posted by chump2877
    Excellent, thanks, that worked....

    rmedek -->
    The big difference between my answer and this one is that shlagish knows how to answer a post in less than three zillion words...


  •  

    Posting Permissions

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