Border to top and bottom overcoming

Is there a method to give the middle border full height so that it can touch the topmost and the bottommost walls of the class1 box.

You have a top and bottom margin of 20px on each article. In the box model, the margin is outside of the border.

1 Like

I cant delete that margin as the content needs that margin, but still there must be some method to apply only on border. Some Pseudo CSS technique.

Is there a special reason you need the margin instead of increasing the top and bottom padding by 20px?

3 Likes

No. No rigidity there.

Got the Point.

Fixed →

2 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.