I would like to create a border only on one side of a rectangle. That border would have that modern zigzag stroke that is present on so many websites. Just like on this photo :
I've tried creating a triangle and adding it as a brush (pattern brush to be more precise). However, it didn't work out well because the triangles were not aligned to the outside of the rectangle. Also they were surrounding the rectangle on every side instead of just one.
Is there a good and quick tutorial out there on internet that would explain how such zigzag borders are created ?