[html]
<table border="6">
<tr>
<td><img src="http://www.katecorner.com/images/twitter.png"</td>
</tr>
</table>
[/html]
[/center]
Its bbcode but does not work bbcode in mybb...why please.
It puts a border on my image, so much neater.
Interestingly I don't even need to allow HTML it just works on SMF.
Try to put it like this:
[html]
[body]
<table border="6">
<tr>
<td><img src="http://www.katecorner.com/images/twitter.png"</td>
</tr>
</table>
[/body]
[/html]
What? That's not how HTML works at all - same with BBCodes. Even if it was, that's some terrible markup right there.
What exactly are you trying to do? Post an image with a border?
(2011-02-10, 07:21 PM)euantor Wrote: [ -> ]What? That's not how HTML works at all - same with BBCodes. Even if it was, that's some terrible markup right there.
What exactly are you trying to do? Post an image with a border?
[html]
<table border="6">
<tr>
<td><img src="http://www.katecorner.com/images/twitter.png"</td>
</tr>
</table>
[/html]
[/center]
The above code is BBcode/HTML which puts a border round an image.
It works in SMF which is BBCode.
(2011-02-10, 07:58 PM)kate Wrote: [ -> ] (2011-02-10, 07:21 PM)euantor Wrote: [ -> ]What? That's not how HTML works at all - same with BBCodes. Even if it was, that's some terrible markup right there.
What exactly are you trying to do? Post an image with a border?
[html]
<table border="6">
<tr>
<td><img src="http://www.katecorner.com/images/twitter.png"</td>
</tr>
</table>
[/html]
[/center]
The above code is BBcode/HTML which puts a border round an image.
It works in SMF which is BBCode.
Oh I see what you're doing now. SMF must have HTML tags so you can insert HTML in posts. Well it doesn't work that way here, you'll have to enable HTML in posts and take out the HTML tags.
Security note: You might want to look for that plugin which restricts HTML to certain usergroups to prevent exploits.
That's because SMF obviously has a BBCode to allow the parsing of HTML. To allow HTML in posts in MyBB, you must enable it globally (which is not advised).
Either way, that's some awful HTML. Try something more like this:
<img src="http://www.katecorner.com/images/twitter.png" style="border: 6px;" alt="Twitter" />
No and yes Euantor,
I knew yours would'nt work in a BBcode mode which it did'nt but I tried it anyway.
I then went to admin and allowed HTML in my test forum and I posted knowing full well it would work.
I know HTML its CSS I am not familur with. Your tag is what i would use for my images in my Wordpress its the right way.
The table [my code] was in was not 'clean' to say the least and would not have passed W3C standards for sure lol
One day BBcode will hopefully allow some nice features like border around image. In SMF I looked but could have missed (will look further this afternoon) where you can allow certain group members to use HTML
Although IPB is also BBcode you can have HTML or BBcode there too. I think it depends on the creator of the software. MYBB code does not allow member HTML but another may do.
Thanks Euantor!
There are plugins to allow html to certain groups for MyBB - you could even create your own MyCode to add a border
If you want to try either, I may be able to help if you PM me.