Center button
5 posters
Page 1 of 1
Center button
Hi! How to center this button? I hate than it is in left side.
- Code:
<script type="text/javascript" src="//www.draugiem.lv/api/api.js"></script><div id="draugiemLike"></div>
<script type="text/javascript">
var p = {
titlePrefix:"banan.forumlv.com",
text:"Biju banÄnforumÄ- patika. IenÄc arÄ« Tu! ;)",
name:"bananforums",
popup:true
};
new DApi.Like(p).append('draugiemLike');
</script>
-MiSHmaSH-- Forumember
- Posts : 267
Reputation : 12
Language : Latvian
Re: Center button
Try this code
- Code:
<script type="text/javascript" src="//www.draugiem.lv/api/api.js"></script><div id="draugiemLike" style="margin:0 auto;text-align:center;></div>
<script type="text/javascript">
var p = {
titlePrefix:"banan.forumlv.com",
text:"Biju banānforumā- patika. Ienāc arī Tu! ;)",
name:"bananforums",
popup:true
};
new DApi.Like(p).append('draugiemLike');
</script>
Re: Center button
I'll try it tomorow, I don't have time now :p
Thanks again
Thanks again
-MiSHmaSH-- Forumember
- Posts : 267
Reputation : 12
Language : Latvian
Re: Center button
Try adding this to your HTML page:
- Code:
<style type="text/css">
#draugiemLike {
text-align:center;
}
</style>
- Code:
#draugiemLike {
text-align:center;
}
Re: Center button
Hi,
Can you post a screenshot explaining what you're really looking forward, that way we don't confuse each other, thank you.
Can you post a screenshot explaining what you're really looking forward, that way we don't confuse each other, thank you.
Re: Center button
- Code:
<script type="text/javascript" src="//www.draugiem.lv/api/api.js"></script><div id="draugiemLike" style="margin:0 auto;text-align:center;"></div>
<script type="text/javascript">
var p = {
titlePrefix:"banan.forumlv.com",
text:"Biju banānforumā- patika. Ienāc arī Tu! ;)",
name:"bananforums",
popup:true
};
new DApi.Like(p).append('draugiemLike');
</script>
Re: Center button
Thanks candy, that worked
-MiSHmaSH-- Forumember
- Posts : 267
Reputation : 12
Language : Latvian
Re: Center button
Topic Solved & Locked
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» "Back to Top" Button too small and too near "Report" button.
» Announcment, Expand forum button, Custom like button, Hover over image
» "Do not display again button" how to re enable(without clear cache) or use it just as a close button...?
» Adding a reply button next to the quote button to automatically tag users?
» Change Quote Button, Edit Button and more into the text
» Announcment, Expand forum button, Custom like button, Hover over image
» "Do not display again button" how to re enable(without clear cache) or use it just as a close button...?
» Adding a reply button next to the quote button to automatically tag users?
» Change Quote Button, Edit Button and more into the text
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum