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 4 of 4
  1. #1
    New Coder
    Join Date
    Oct 2002
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    bg in table unaligned for some reason O.o

    www.pc-light.com

    If you notice the middle part of "Our Mission" is unaligned with the rest of it. For just about no reason. Hopefully someone here can find the reason =)
    "Not all who wander are lost."

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    NL
    Posts
    421
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Always put your <td></td> tags on one line.
    Never like this:

    <td>
    <img>
    </td>

    But like this:

    <td><img></td>

  • #3
    New Coder
    Join Date
    Oct 2002
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I tried that and it didn't work. The problem lies with the background="/images/main-body.jpg" being unaligned. And since it's a background I don't think it pertains to the img tag o.o
    "Not all who wander are lost."

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Posts
    166
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Problem is the first line on the left border of main-body is missing, and as a result, the image has shifted left by one pixel.

    That image, main-body.jpg, is a bottom slice of main-mission.jpg, and, in the process of being saved or pasted, got shifted one pixel to the left. As it is a background, it has started to repeat itself. Redo main-body.jpg, taking care that the vertical left border lines of main-mission and main-body do exist, and are in the same relative position. Right now, the first line is missing in one image and the second line is at 4^left in main-body while it is 5^left in main-mission.


  •  

    Posting Permissions

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