Zaloguj | Zarejestruj | FAQ
Anonymous

How to create HTML banner with "Advertisement" text?

+ Odpowiedz

Posty: 2 Strona 1 z 1


How to create HTML banner with "Advertisement" text?

przez Gertjie-ertjie » Śr wrz 27, 2017 9:59 am

Hi,
Can anyone help with some HTML code.
I'm trying to get the banner on my website with the "Advertisement" text at the right bottom of the banner but with no space at all between the 2.

The Banner is spaced in "align=center" in the wordpress column so adding an extra text block and aligning it to the right takes it far past the banner length. Even just adding a <br> and adding "advertisement" ads it at different spots. So it needs to be one block of code i guess.

The banner is the following.
<a href="http://fakebannerad.com" rel="nofollow" target="_blank"><img src="https://www.fakelink.com/wp-content/uploads/2016/07/fake-banner-728x90.gif" alt="fake banner" /></a>

Could someone please help with what the COMPLETE HTML would look like to have the text against the ad with no spaces like the example at the top of this site http://www.mensfitness.com/ or like the attached file.

Thank you in advance.

Załączniki

  1. ad example.jpg (29.11 KiB) Pobrane 279 razy

Avatar użytkownika

Gertjie-ertjie

  • Posty: 1
  • Dołączył(a): Śr wrz 27, 2017 9:48 am

Re: How to create HTML banner with "Advertisement" text?

przez johnthan » Wt lis 21, 2017 1:50 pm

Make this code inside div or table and place the link code.

I think this is what you want to get.

Like:
<div class="cl" align="center">
<a href="http://fakebannerad.com" rel="nofollow" target="_blank"><img src="https://www.fakelink.com/wp-content/uploads/2016/07/fake-banner-728x90.gif" alt="fake banner" /></a><br>
Advertisement
</div>
Avatar użytkownika

johnthan

  • Posty: 5
  • Dołączył(a): Wt lis 21, 2017 1:03 pm


+ Odpowiedz

Strona 1 z 1