Closed (fixed)
Project:
Advertisement
Version:
5.x-1.4-1
Component:
ad_image module
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2008 at 22:34 UTC
Updated:
20 Feb 2008 at 23:13 UTC
Hello,
I am using image ads in a block on the sidebar on my site - but I don't like how the ads are grouped together so tightly, and I would like them to be centered in the sidebar. Is there any way to do this using CSS styles while still using the JavaScript method of displaying the ads? I don't want to revert back and use the Raw system of uploading the ads.
Thanks!
Comments
Comment #1
jeremy commentedSure, just style them exactly as you would if you were using the raw display method. CSS will work the same, either way.
Comment #2
naitsirhc26 commentedBut what ids or classes would you use? When you look at the source code - it's a javascript file. And if you were to style the divs surrounding the Javascript file - it would apply those styles to the entire block.
My only other thought would be to use the img tag in my css style. Would that actually style each individual image within the javascript?
So something like:
#ad_group_3 img {
padding-bottom: 5px;
}
Comment #3
naitsirhc26 commentedOkay, using the code I entered above worked. Thanks for the help Jeremy!
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.