Top Posters
Since Sunday
e
7
t
7
f
6
e
6
c
6
J
6
e
6
j
6
F
6
a
6
u
6
o
6
New Topic  
BearPro BearPro
wrote...
Valued Member
Posts: 382
11 years ago Edited: 11 years ago, foadbear
Code:
<div dir="ltr" style="text-align: left;" trbidi="on">
<table bgcolor="" border="0" bordercolor="" style="width: 600px;">
<tbody>
<tr>
<td><iframe allowtransparency="true" src="//www.facebook.com/plugins/like.php?href=http://testbear.site88.net/Upload/index.php&amp;send=false&amp;layout=button_count&amp;width=450&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21" frameborder="0" scrolling="no" style="border: none; height: 21px; overflow: hidden; width: 100px;"></iframe> </td>
<td><script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<g:plusone></g:plusone></td>
<td><a class="twitter-share-button" data-url="http://testbear.site88.net/Upload/index.php" href="https://twitter.com/share">Tweet</a>
<script>
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
</script> </td>
<td>
<a href="http://pinterest.com/pin/create/button/?url=http://testbear.site88.net/Upload/index.php&media=http://testbear.site88.net/Upload/images/logo.gif" class="pin-it-button" count-layout="horizontal"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="Pin It" /></a>
<script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script>
</td>
</tr>
</tbody></table>
</div>

it was just that I was looking to align the sharing buttons horizontally, and so I came up with the idea of putting them in a table so that I dont have to mess up with the positioning of them
it is single row table with four columns
not very fancy stuff ,but saved me the trouble of aligning them in a straight line horizontally
it works
http://testbear.site88.net/Upload/index.php
can see it here

thought I could share the code, if there might be future plans of this forum to incorporate other social sharing buttons too,
if post irrelevant, kindly delete it
Read 2046 times
4 Replies
I don't feel like riding until everything blurs.

Ask Me Maths Questions

Replies
wrote...
Educator
11 years ago
Not irrelevant at all! I like these types of threads. It's best not to use tables nowadays, as it adds a lot of clutter to the HTML. I do like the idea, but I think it should be incorporated into the actual thread, rather than the main homepage. You could, on the other hand, having a sliding social sharing widget. They look cool and don't take up much space.

Another thing, if you ever want to share html code, wrap the content around
Code:
[code] Content Here [ /code]

It's a secret BBCode here on Biology-Forums.[/code]
wrote...
Educator
11 years ago
I'd also say drop the S on MATHS. Wink Face
BearPro Author
wrote...
Valued Member
11 years ago
Not irrelevant at all! I like these types of threads. It's best not to use tables nowadays, as it adds a lot of clutter to the HTML. I do like the idea, but I think it should be incorporated into the actual thread, rather than the main homepage. You could, on the other hand, having a sliding social sharing widget. They look cool and don't take up much space.

Another thing, if you ever want to share html code, wrap the content around
Code:
[code] Content Here [ /code]

It's a secret BBCode here on Biology-Forums.[/code]

was looking for code writing button while writing that post, but couldn't find it, thats why put it in box
for individual threads, there are plugins, will look into them.

tables add lots of clutter to html? means? i was planning to use tables for aligning footers and headers too. is that some sort of drawback?

I'd also say drop the S on MATHS. Wink Face

http://www.dailywritingtips.com/math-or-maths/
Slight Smile
I don't feel like riding until everything blurs.

Ask Me Maths Questions

wrote...
Educator
Top Poster
11 years ago
Quote
tables add lots of clutter to html? means? i was planning to use tables for aligning footers and headers too. is that some sort of drawback?

Well, yes and no. I've used tables in multiple occasions to design this website as I find them easier to implement, but if I could turn back time, I would have invested time in using dividers instead:

Code:
<div>My content</div>

I find them easier to style and customize.

Now, the reason I would drop the s in maths is because most of your viewers will come from the United States and Canada, and our English dialect has a greater influence on the world, believe it or not, than British English. If an American were to use your site, he/she would immediately be turned off by the spelling mistake and may choose not to sign up (that's because they are uneducated by the fact that mathematics can be represented in two ways, both math and maths). Don't take it as a word of caution, but that's how I'd interpret it. Thinking Face

Related Topics

New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1028 People Browsing
Related Images
  
 873
  
 256
  
 129
Your Opinion
Which industry do you think artificial intelligence (AI) will impact the most?
Votes: 378

Previous poll results: Do you believe in global warming?