Link to home
Start Free TrialLog in
Avatar of coolispaul
coolispaulFlag for United States of America

asked on

Borders around margin css

Hi

Is it possible to show a border around a margin in CSS?

Thanks
Avatar of Kim Walker
Kim Walker
Flag of United States of America image

Margins are outside the border. Padding is inside the border.
Avatar of coolispaul

ASKER

yeah, so is it impossible?

i want an element with a background color to also have a border but with 20px spacing first

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Kim Walker
Kim Walker
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ok yep that makes sense

thanks