Forums

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

Home Forums CSS Borders not forming a perfect square Re: Borders not forming a perfect square

#79092
noahgelman
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.