Sorry for asking so many questions but trying to get my head around stuff.
I am trying to insert an linked image into a div using a function.
I have inserted the div's into my sidebar and want one to have an image in.
Here is the code
function my_sidebar() { ?>
<div class="aboutme aside main-aside"><h2>about me</h2><p>blah blah blah</p></div>
<div class="skills aside main-aside"><img src="image/hirebutton.png" alt="my image"></div>
<?php
}
add_action('thematic_abovemainasides', 'my_sidebar');
//////////////and the css//////////
.skills{
border-left:1px #d5d5d5 solid;
padding:10px;
-moz-border-radius:5px;
margin-bottom:25px;
width:225px;
float: right;
}
the "my image" is the only part of the code that shows up in the sidebar div.
the only way I can get the image to show up in the div is by adding a background image to it. However this is not then a linked image.
If looking at the site so far helps its at www.willforsyth.co.uk/blog its the "about me blah blah blah" (sorry my dummy content is bad) section in the sidebar.
Hope this makes sense