English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I put the question on here so you can see the problem.
http://www.doopydoo.com/Table.htm

Please post answer on here if you can fiqure it out and 10 points awaits :)

2007-02-26 06:24:03 · 7 answers · asked by peter s 1 in Computers & Internet Programming & Design

7 answers

put the photos in a table with "0" for cell padding, this will make them appear as one. Example






2007-02-26 06:36:13 · answer #1 · answered by La Flaca 4 · 0 0

The problem here is that the image itself actually has a 1 pixel border around it. If you open the image up in Photoshop/PaintShop/MSPaint, you can see there's a red box, but then there's a 1 pixel border of white all the way around the image.

So your code is perfect... the images are laying right next to each other... but the images just have a gap built in.

Open your image up in your favorite editing program and crop out that border and you'll be good to go.

2007-02-26 14:32:35 · answer #2 · answered by wa-webguy 3 · 0 0

They are definatly right, lose the 1 pixel border around the image. Also, sometimes the Doctype on the top of the page will add spacing where you don't want it. Removing it can help that issue.

2007-02-26 15:35:38 · answer #3 · answered by Clinton G 2 · 0 0

That's an easy one. You have to reduce the cell padding and cell spacing to 0 (zero). HTML, by default, uses a 1. (Place the colored boxes in a table, not just using a div tag. Tables are easier anyway.)

2007-02-26 14:36:58 · answer #4 · answered by Anonymous · 0 0

This one puzzled me so much I copied your files and played with them. There is nothing wrong with your HTML - the problem is the image. Recreate this block without the transparent background and it will lose its border. Don't know why, but it works.

2007-02-26 15:16:50 · answer #5 · answered by injanier 7 · 0 0

In EACH image tag add the following:

hspace="0" vspace="0" border="0"

the final tag should look like this:



xxx = gif or jpg or png (image format)

Click on my avatar and e-mail me if you need more help.

2007-02-26 14:40:58 · answer #6 · answered by Anonymous · 0 0

In each of your image tags add the following style:

style="margin: 0px;"

2007-02-26 15:14:10 · answer #7 · answered by javier 2 · 0 0

fedest.com, questions and answers