The span seems to be adding a few spaces in front of the text.
This is an example of one of my lines
[syntax=php]<p class='article_title'> <?php echo str_replace($keyword,'<span class="highlight">'.$keyword.'</span>',$headline); ?> </p>[/syntax]
and if yo see in the image below..
SPAN is adding spaces in front of text?
Re: SPAN is adding spaces in front of text?
jacek wrote:You have a space before the opening <?php
I solved it, I had a random generic SPAN tag in my css already with a margin-left lol
Re: SPAN is adding spaces in front of text?
brisk wrote:jacek wrote:You have a space before the opening <?php
I solved it, I had a random generic SPAN tag in my css already with a margin-left lol
So it wasnt the space :s
Well at least you found it