Viewing 4 replies - 1 through 4 (of 4 total)
  • If you’re just wanting to control the height and width of the image, then add the width and/or height attributes to the IMG tag:

    <a href="https://www.crazydomains.com.au?affiliate=YTozOntzOjk6Im1lbWJlcl9pZCI7czo3OiIyNjM4MDMxIjtzOjE5OiJhZmZpbGlhdGVfYmFubmVyX2lkIjtzOjI6IjExIjtzOjEwOiJyZWxvYWRfdXJsIjtzOjMwOiJodHRwOi8vd3d3LmNyYXp5ZG9tYWlucy5jb20uYXUiO30=">
    <img src="https://www.crazydomains.com.au/images/affiliates/120x600/banner2_au.png" width="60" height="300" /></a>

    To keep the same aspect ratio for the image, you need to make sure the height value is 5 times the width. In the code above, I made it half the size at 60×300.

    Thread Starter PetruTiglar

    (@petrutiglar)

    Thanks for your reply Mark. What im trying to do is relocate the image position from its default location (above everything) to sit next to the content in the the site. Here is a url to show you what it looks like

    https://ptnetworx.com.au/

    Well, header.php is probably not the place for it then because anything in it will be before the main content. You’ll need to add it to the php file that displays the content below the header.

    If the theme supports a left-hand sidebar then I’d add it to the left sidebar using a text widget.

    Thread Starter PetruTiglar

    (@petrutiglar)

    thanks i’ll give it a go

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Basic HTML help, Im pretty noob :P’ is closed to new replies.