dirkulese
Forum Replies Created
-
Forum: Plugins
In reply to: register for newslettersright im on it thanks jamesb4551 I’ll let you know how it goes down
Forum: Plugins
In reply to: register for newslettersOk thanks for the replie,
Could you explain?Forum: Fixing WordPress
In reply to: inserting HTML into previous_comments_linkThanks for your input henkholland,
But I dont think i’m explaining myself very well the code the php should produce would look like:single.php (ignore the commers in the a tag!)
<div class=”alignleft”>'<a’><span>link to somewhere</span>'</a’></div>
style.css
.alignleft a:link{
position:relative;
float:left;
background:url(images/arrow.gif) top left no-repeat;
}.alignleft a:link span{
position:relative;
float:left;
background:url(images/arrow-back.gif) top left no-repeat;
}.alignleft a:hover{
position:relative;
float:left;
background:url(images/arrow-hover.gif) top right no-repeat;
}.alignleft span a:hover {
position:relative;
float:left;
background:url(images/arrow-hover-back.gif)top left no-repeat;
}Forum: Fixing WordPress
In reply to: inserting HTML into previous_comments_linkThanks for getting back to me,
The problem is that I need to change 2 background images on the hover state of the link (one for the image positioned left of the link and another for the image positioned right). By setting up the CSS in this way the link can handle any text length and still have an image in the background. Traditionally I’ve used<a href="somewhere.html><span>link to somewhere</span></a>this allows me to style two elements (the<span>and the<a>tag) on the hover state but when trying to apply this toprevious_comments_linkthe span sits on the outside of the a tag thus rendering it useless.