I want to repeat background image in a div but without specifying height, i want it to be flexible, if any amount of data comes in background should still be there. if i don't specify height it does not shows there but other properties like margin auto is applied.

any suggestions.