Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Fix this button
#1
Not Solved
<span id="tyl_btn_{$post['pid']}"><a href="thankyoulike.php?action=add&amp;pid={$post['pid']}&amp;my_post_key={$mybb->post_code}" onclick="return thankyoulike.add({$post['pid']}, {$post['tid']});" title="{$lang->add_tyl}" id="tyl_a{$post['pid']}"><class="button postbit-button"><alt="{$lang->postbit_quote}" title={$lang->postbit_quote}/>Thanks</a></a></span>



What is wrong with that code? I need it to be a CSS button but it won't work...
#2
Not Solved
Your HTML is simply improper. class and alt are attributes, not tags.
#3
Not Solved
(2014-03-01, 05:39 AM)Destroy666 Wrote: Your HTML is simply improper. class and alt are attributes, not tags.
Help me fix it?
#4
Not Solved
^ you can try below
<span id="tyl_btn_{$post['pid']}"><a href="thankyoulike.php?action=add&amp;pid={$post['pid']}&amp;my_post_key={$mybb->post_code}" onclick="return thankyoulike.add({$post['pid']}, {$post['tid']});" title="{$lang->add_tyl}" id="tyl_a{$post['pid']}" class="button postbit-button">Thanks</a></span>


Forum Jump:


Users browsing this thread: 1 Guest(s)