making a image go central

Started by Kustomuk, June 03, 2020, 03:40:07 PM

Previous topic - Next topic

Kustomuk

How to make this code go central.

<a href="http://www.link TO SITE.com/" target="_blank" rel="noopener"> <img src="http://www.link TO IMAGE.co.uk//forum/Advertising/IMAGE.png" />

Arantor

Holder of controversial views, all of which my own.


Kustomuk


Arantor

I hate to be awkward, but where? The code required differs depending on where you plan on putting it.
Holder of controversial views, all of which my own.


Kustomuk

lets say at the top of this thread it needs to go central, instead of stuck at the left.

Cheers

Arantor

-sigh-

OK, fine, let's suggest the obvious answer which may or may not work because it does actually matter *specifically*.

<div style="text-align:center"><a href="http://www.LINK TO SITE.com/" target="_blank" rel="noopener"> <img src="http://www.LINK TO IMAGE.co.uk//forum/Advertising/IMAGE.png" /></a></div>
Holder of controversial views, all of which my own.


Kustomuk

works just fine kind sir thankyou.  :)

Advertisement: