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

Home Forums CSS Border around paragraph text Re: Border around paragraph text


I’ve removed the padding and I get the same result; a border around the entire div and not the paragraph.

It’s weird as removing the div results in a border that takes as much space as possible and does’t stick to the size of the paragraph.