类似facebook的按钮文本对齐iframe javascript
我在我的网站上添加了一个类似facebook的按钮,但是文本对齐不会出现在右边。我不知道我该怎么做 下面是一个代码示例:类似facebook的按钮文本对齐iframe javascript,facebook,button,facebook-like,text-alignment,text-align,Facebook,Button,Facebook Like,Text Alignment,Text Align,我在我的网站上添加了一个类似facebook的按钮,但是文本对齐不会出现在右边。我不知道我该怎么做 下面是一个代码示例: <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.google.com&layout=standard&show_faces=false&width=450&action=like&fon
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.google.com&layout=standard&show_faces=false&width=450&action=like&font&colorscheme=light&height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>
在iframe元素的style属性中添加text align:right如何:
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.google.com&layout=standard&show_faces=false&width=450&action=like&font&colorscheme=light&height=35" scrolling="no" frameborder="0" style="text-align: right; border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>