Bandcamp player not centered using Chrome, but fine with FF and IE

Hi Folks

URL: www.perthpunk.com

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?

Cheers!
Ross

hi,

Try adding display:inline-block here:


<iframe style="border: 0; width: 350px; height: 470px[B];display:inline-block[/B]"

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.

Cheers!
Ross