Here is a little css problem
The code:
printf( '<div id="replyto">Reply to</div>
<a class="replytolink" href="%1$s">%2$s %3$s</a>',
$parent_link, $parent->comment_author, $parent->comment_date );
The css:
#replyto {
float: left;
}
.replytolink {
float: left;
}
is output
Reply to“Comment author Date”
How can I output it
Reply to “Comment author Date”
with correct spacing between text and link?
From a semantic point of view, using a floating div followed by an anchor isn’t the best choice possible of tags in this case.
Personally, I would replace that
divwith aspan, then you wouldn’t need to float them, and so word spacing would work as usual..