inherit
255869
0
Mar 14, 2024 16:45:55 GMT -8
beatles4me
60
July 2018
beatles4me
|
Post by beatles4me on Sept 18, 2020 9:37:42 GMT -8
HI - not sure if this is correct board to ask this -
I have a banner AD on my site for Amazon - how can I center it on the page? thank you - regards Michael
|
|
#e61919
Support Staff
224482
0
1
Mar 28, 2024 16:54:21 GMT -8
Scott
23,133
August 2015
socalso
|
Post by Scott on Sept 18, 2020 10:24:55 GMT -8
beatles4me , I see you have the ad as an iframe in the global header. So this should do it: <style> .yourad { display:flex; justify-content: center; } </style> <div class="yourad"> <iframe>blah blah</iframe> </div> Just substitute <iframe>blah blah</iframe> with your existing iframe code.
|
|
inherit
255869
0
Mar 14, 2024 16:45:55 GMT -8
beatles4me
60
July 2018
beatles4me
|
Post by beatles4me on Sept 18, 2020 10:54:42 GMT -8
beatles4me , I see you have the ad as an iframe in the global header. So this should do it: <style> .yourad { display:flex; justify-content: center; } </style> <div class="yourad"> <iframe>blah blah</iframe> </div> Just substitute <iframe>blah blah</iframe> with your existing iframe code. HI Scott - thank you - but not sure what you as to what part I replace and what I keep
can u look at this again - I went back to Amazon and replaced with a Java Script version is that easier to work with?
I didn't see where to put what part of the code on the other version if u can do it I can see what u do - any help is appreciated thanx
|
|
inherit
255869
0
Mar 14, 2024 16:45:55 GMT -8
beatles4me
60
July 2018
beatles4me
|
Post by beatles4me on Sept 18, 2020 10:55:27 GMT -8
Here is my code
<div class="alignleft"> <script type="text/javascript"> amzn_assoc_ad_type = "banner"; amzn_assoc_marketplace = "amazon"; amzn_assoc_region = "US"; amzn_assoc_placement = "assoc_banner_placement_default"; amzn_assoc_banner_type = "ez"; amzn_assoc_p = "48"; amzn_assoc_width = "728"; amzn_assoc_height = "90"; amzn_assoc_tracking_id = "jfkboards-20"; amzn_assoc_linkid = "8d472fdf1d978e7db147ac138032cf9f"; </script> <script src="//z-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&Operation=GetScript&ID=OneJS&WS=1"></script> </div>
|
|
inherit
140147
0
Mar 26, 2024 17:20:16 GMT -8
Nscalerr 🐺
Throw me to the wolves and I'll return leading the pack!
2,991
May 2009
nscalerr
|
Post by Nscalerr 🐺 on Sept 19, 2020 1:00:25 GMT -8
hi beatles4meGive the following a go and see if it gets you where you want to go. <div align="center"> <script type="text/javascript"> amzn_assoc_ad_type = "banner"; amzn_assoc_marketplace = "amazon"; amzn_assoc_region = "US"; amzn_assoc_placement = "assoc_banner_placement_default"; amzn_assoc_banner_type = "ez"; amzn_assoc_p = "48"; amzn_assoc_width = "728"; amzn_assoc_height = "90"; amzn_assoc_tracking_id = "jfkboards-20"; amzn_assoc_linkid = "8d472fdf1d978e7db147ac138032cf9f"; </script> <script src="//z-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&Operation=GetScript&ID=OneJS&WS=1"></script> </div>
|
|
inherit
255869
0
Mar 14, 2024 16:45:55 GMT -8
beatles4me
60
July 2018
beatles4me
|
Post by beatles4me on Sept 19, 2020 4:14:17 GMT -8
perfect !! - thank u
u guys are the best !!!
|
|