News

Register today and ask your questions about websites, and how to make and maintain them ....

General tips

Administrator · 1177

Administrator

  • Administrator
  • Newbie
  • *****
    • Posts: 17
    • Karma: +0/-0
    • View Profile
    • WebsitesSupport.com
on: July 22, 2020, 07:44:36 AM
Some people always need to have things done on there website in HTML. Just as a reminder I give some tips here to do things.

Text outline (For ads for example)

<div align="left | right | center | justify";>

Your text or banner here !

</div>

Where :

Attribute Values:

    left: It sets the content to the left-align.
    right: It sets the content to the right-align.
    center: I sets the div element to the center.
    justify: It sets the content to the justify position.




 So, if you want to center text or banner then you  do this :

<div align="center";>

Your text or banner here !

</div>[/code]

And that will then show like this :

Your text or banner here !


Funny part is that it will not work in SMF forum, as they use here center like this
[center]Your text or banner here ![/center]
« Last Edit: July 22, 2020, 07:46:16 AM by Administrator »

Regards,

John