Branding

I'm looking to "brand" WHD with a dynamic logo based on the URL. For now, I have been trying to use IIS with iFrame pages. However, for IE10 and below, this seems to break the CSS of the site. Any thoughts?