Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Forum: Plugins
    In reply to: register for newsletters
    Thread Starter dirkulese

    (@dirkulese)

    right im on it thanks jamesb4551 I’ll let you know how it goes down

    Forum: Plugins
    In reply to: register for newsletters
    Thread Starter dirkulese

    (@dirkulese)

    Ok thanks for the replie,
    Could you explain?

    Thread Starter dirkulese

    (@dirkulese)

    Thanks 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;
    }

    Thread Starter dirkulese

    (@dirkulese)

    Thanks 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 to previous_comments_link the span sits on the outside of the a tag thus rendering it useless.

Viewing 4 replies - 1 through 4 (of 4 total)