Margin on a border?

hi

i have a div with a background image, this image shows an arrow on the left and a 1 pixel border top left and right.

problem is when i add a matching border at the bottom of the div it runs along the whole div of course, whereas i want it to effectively start around 30 px from the left of the div to match the image.

can i give a border a margin and adjust its width?

Could you post an image of what you are doing, or a link? It’s not quite clear what’s going on here.

No you can’t adjust a borders length because it does just what its name suggests and borders the element. You would probably need to use a smaller nested element to achieve the smaller border effect you want.

However as Ralph said we may need to see exactly what you want to provide a better answer :slight_smile: