The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS image border Re: image border


Here is a stretch but something to check.

Is it possible you have a background color set to black(or some other dark color) and a left-margin of 1 and top-margin of 1 while your width is an absolute size? Meaning you have a absolute width of say 60px but since your image has a left-margin of 1 and a top margin of 1 with a black background it’s being bumped to the right and down by a pixel simulating the one pixel left and top borders?

I hope I didn’t confuse more with my horrible attempt at a description.