In my code I\'m trying to capture everything inside the div including styles and images. The images if they belong to the current host are saved without problems, if they belong