rolanstein — 2013-09-25T13:23:23-04:00 — #1
Towards the bottom of the home page, I have an embedded Bandcamp player that is centered (as intended) when viewed on Firefox and IE, but left-aligned when viewed on Chrome. The coding I have at present is as follows:
<div style="text-align:center"><iframe style="border: 0; width: 350px; height: 470px;" src="http://bandcamp.com/EmbeddedPlayer/album=2744790949/size=large/bgcol=ffffff/linkcol=0687f5/notracklist=true/t=3/transparent=true/" seamless><a href="http://geeks77.bandcamp.com/album/burned">Burned by The Geeks</a></iframe></div>
Can anyone suggest a mod, please, that will ensure the player remains centered in FF and IE, and is changed from left-aligned to centred in Chrome?
paulob — 2013-09-25T15:50:25-04:00 — #2
Try adding display:inline-block here:
<iframe style="border: 0; width: 350px; height: 470px[B];display:inline-block[/B]"
rolanstein — 2013-09-25T21:35:11-04:00 — #3
That's done it! Thanks a lot, Paul. Terrif!
Now all I wanna do is stop Chrome from hanging every time I open it! But that's another conversation.