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 9 of 9
  1. #1
    New Coder
    Join Date
    Oct 2007
    Posts
    14
    Thanks
    14
    Thanked 0 Times in 0 Posts

    Need Help with making text always stay on the right of the image

    Website: http://www.dealsneaker.com/projectx/projectx.html

    Can anyone help?

    I'm having trouble with trying to figure out how to keep text on the right of the image and never go under the image,

    thanks in advance.


  • #2
    Regular Coder
    Join Date
    Feb 2007
    Location
    Canada
    Posts
    924
    Thanks
    10
    Thanked 56 Times in 55 Posts
    set a margin-left to the text div the same width as the image (or wider)

    http://jlhaslip.com/samples/image_display/image_display_1col.html

  • Users who have thanked jlhaslip for this post:

    brian101 (10-29-2007)

  • #3
    New Coder
    Join Date
    Oct 2007
    Posts
    14
    Thanks
    14
    Thanked 0 Times in 0 Posts
    it worked the only problem is that the top image isnt aligned with header, anyone know how to fix this?


  • #4
    Regular Coder
    Join Date
    Feb 2007
    Location
    Canada
    Posts
    924
    Thanks
    10
    Thanked 56 Times in 55 Posts
    If you want help, change the code on the link you posted. It doesn't look like you have changed it on the live version, and we can only guess what you have changed.
    By the way, I don't have a top spacing problem with the sample I posted. How much did you change?

    We work in code here, not images.

  • Users who have thanked jlhaslip for this post:

    brian101 (10-29-2007)

  • #5
    New Coder
    Join Date
    Oct 2007
    Posts
    14
    Thanks
    14
    Thanked 0 Times in 0 Posts
    sorry heres the link to the problem
    http://www.dealsneaker.com/projectx/projectx2.html

    the image is 125px by 125px im just trying to move it up so the top of the image is even with the header

    i tried margin-bottom for the image class, but it doesn't work in internet explorer
    Last edited by brian101; 10-29-2007 at 01:50 AM.

  • #6
    Regular Coder
    Join Date
    Feb 2007
    Location
    Canada
    Posts
    924
    Thanks
    10
    Thanked 56 Times in 55 Posts
    That link I gave you is a div-based layout, not tables
    Try that to fix this issue. It will work.

  • Users who have thanked jlhaslip for this post:

    brian101 (10-29-2007)

  • #7
    New Coder
    Join Date
    Oct 2007
    Posts
    14
    Thanks
    14
    Thanked 0 Times in 0 Posts
    Thanks alot i didnt use the tables and it worked without troubles i really appreciate all your help time and effort, thanks again

  • #8
    Regular Coder
    Join Date
    Feb 2007
    Location
    Canada
    Posts
    924
    Thanks
    10
    Thanked 56 Times in 55 Posts
    Glad it worked out.

  • #9
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    Isn't your price for "ZUNE" a little odd? $99.99 crossed through.
    Offered at $199.99

    Frank
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.


  •  

    Posting Permissions

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