I am making a site layout for a company that uses IDevAdManager to rotate ads on its site. Unfortunately, I am not a very expert in this field, so I cannot give much about this. What can I say for sure, although due to the nature of the generator, the source inside the frames generated by it is not edited by me.
Now here is my problem.
I am trying to make my new website compatible with HTML5, but I have an interesting problem.
When it comes to adding frames from the ad rotator, it generates all the old, discounted tags used by previous HTML implementations.
Obviously, most of them can be removed using CSS. All except, however, the marginheight and marginwidth attributes.
Here I get to my problem. There seems to be no CSS equivalent of the width of the marginheight or margin, and there is no way to access the source in an iframe. However, eliminating them prevents proper alignment of the internal content.
I hope to find a solution that is valid HTML5 and solves my problem.
Currently there is such an option? Or will I have to use outdated tags until a solution is developed?
source share