Tom@DDW Posted February 13, 2015 Report Share Posted February 13, 2015 I need to center the wrapping DIV container that displays on a page when using the javascript invocation code (or any type of invocation code) so the image it delivers into it is not aligned left in an existing DIV. This is the DIV wrapper: <div style="width: 970px; height: 90px; overflow: auto;"> [Ad script from invocation tag inserted here] </div> I would like to change the wrapper DIV to: <div style="width: 970px; height: 90px; margin; 0 auto; overflow: auto;"> but cannot find the file/script to make this change. Any help would be much appreciated! Tom Quote Link to comment Share on other sites More sharing options...
Tom@DDW Posted February 14, 2015 Author Report Share Posted February 14, 2015 So did I stump the band or something? Anybody have a clue where I can find the DIV that wraps the ad unit when delivered to the page? Tom Quote Link to comment Share on other sites More sharing options...
andrewatfornax Posted March 6, 2017 Report Share Posted March 6, 2017 Hi @Tom@DDW, It would generally be better to use CSS to modify the placement of the unit, rather than changing the Revive Adserver code - this will be more forward-compatible, and allow you to upgrade Revive Adserver without needing to change the code each time. HTH. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.