![]() |
Fix this button - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Community Archive (https://community.mybb.com/forum-106.html) +--- Forum: Archived Forums (https://community.mybb.com/forum-143.html) +---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html) +----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html) +------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html) +------ Thread: Fix this button (/thread-151541.html) |
Fix this button - Rob Zombie - 2014-03-01 <span id="tyl_btn_{$post['pid']}"><a href="thankyoulike.php?action=add&pid={$post['pid']}&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... RE: Fix this button - Destroy666 - 2014-03-01 Your HTML is simply improper. class and alt are attributes, not tags. RE: Fix this button - Rob Zombie - 2014-03-02 (2014-03-01, 05:39 AM)Destroy666 Wrote: Your HTML is simply improper. class and alt are attributes, not tags.Help me fix it? RE: Fix this button - .m. - 2014-03-02 ^ you can try below
|