Support » Fixing WordPress » Basic HTML help, Im pretty noob :P

  • could someone please put this in to a code that i could modify to place anywhere on my site? I have an Affiliate code from CrazyDomains and ill like to place it on the left site of my page in the middle. When i paste the code in to the Header.php it pushes the site down and displays it self where i want it so i need to be able to evid the height and width in px to allign it where i want to. here is the code i got from crazydomains

    <(Space)a href=””><img src=”×600/banner2_au.png” /></a(Space)>

    Thank you very much guys
    There is a space between the start and end where <a is because it doesnt show the whole code when i post

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="">
    <img src="" 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.

    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

    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.

    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.