Home › Forums › CSS › Borders not forming a perfect square › Re: Borders not forming a perfect square
September 24, 2010 at 5:28 pm
#79092
Participant
I think the vertical might be defaulting to your line-height. I’ve had a problem once or twice where divs wont fit snugly around an image because the line-height was giving it a little extra height (for what ever reason). If that doesn’t work, rip out each property one by one till it works. And if you still can’t get it, google and find a working example, then just grab that code and stick it on your page, make sure it works, and then adjust it to how you wanted it.