MyBB Community Forums

Full Version: Table HTML
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have made my HTML table on my post. But idk why it give me extra space on the top. Anyone know how to fix?
[Image: 1.PNG]

MY code HTML
<body><center>
			<table border="1" bordercolor="#F5F1F1" cellpadding="0" cellspacing="0" style="background-color:black" width="40%">
				<tbody>
					<tr>
						<th>
							Picture</th>
						</td>
						<th>
							Item Detail</th>
						</td>
						<th>
							Price</th>
					</tr>
					<tr>
						<td><center>
							[img]http://i1109.photobucket.com/albums/h436/OldEdi/RaresMisc/SantaHat_zpsbee2823c.gif[/img]</td></center>
						<td>
							<center>
								Santa Hat</center>
						</td>
						<td>
							<center>
								15-25M</center>
						</td>
					</tr>
					<tr>
						<td><center>
							[img]http://i1109.photobucket.com/albums/h436/OldEdi/RaresMisc/BunnyEars_zps2506193a.gif[/img]</td></center>
						<td>
							<center>
								Bunny Ear</center>
						</td>
						<td>
							<center>
								12-15M</center>
						</td>
					</tr>
					<tr>
						<td><center>
							[img]http://i1109.photobucket.com/albums/h436/OldEdi/RaresMisc/GreenHWeenMask_zps97d19c67.gif[/img]</td></center>
						<td>
							<center>
								Green H'Ween Mask</center>
						</td>
						<td>
							<center>
								35-45M</center>
						</td>
					</tr>
					<tr>
						<td><center>
							[img]http://i1109.photobucket.com/albums/h436/OldEdi/RaresMisc/BlueHWeenMask_zps1544a1b5.gif[/img]</td></center>
						<td>
							<center>
								Green H'Ween Mask</center>
						</td>
						<td>
							<center>
								55-60M</center>
						</td>
					</tr>
					<tr>
						<td><center>
							[img]http://i1109.photobucket.com/albums/h436/OldEdi/RaresMisc/RedHWeenMask_zps3c725d7d.gif[/img]</td></center>
						<td>
							<center>
								Red H'Ween Mask</center>
						</td>
						<td>
							<center>
								85-90M</center>
						</td>
					</tr>
					<tr>
						<td><center>
							[img]http://i1109.photobucket.com/albums/h436/OldEdi/RaresMisc/WhitePartyhat_zps959156c8.gif[/img]</td></center>
						<td>
							<center>
								White Partyhat</center>
						</td>
						<td>
							<center>
								320-375M</center>
						</td>
					</tr>
					<tr>
						<td><center>
							[img]http://i1109.photobucket.com/albums/h436/OldEdi/RaresMisc/PurplePartyhat_zpsad5fb12d.gif[/img]</td></center>
						<td>
							<center>
								Purple Partyhat</center>
						</td>
						<td>
							<center>
								450-485M</center>
						</td>
					</tr>
					<tr>
						<td><center>
							[img]http://i1109.photobucket.com/albums/h436/OldEdi/RaresMisc/GreenPartyhat_zpsc7a3a0e2.gif[/img]</td></center>
						<td>
							<center>
								Green Partyhat</center>
						</td>
						<td>
							<center>
								550-585M</center>
						</td>
					</tr>
					<tr>
						<td><center>
							[img]http://i1109.photobucket.com/albums/h436/OldEdi/RaresMisc/BluePartyHat_zpsdb17c7d2.gif[/img]</td></center>
						<td>
							<center>
								Blue Partyhat</center>
						</td>
						<td>
							<center>
								750-925M</center>
						</td>
					</tr>
					<tr>
						<td><center>
							[img]http://i1109.photobucket.com/albums/h436/OldEdi/RaresMisc/RedPartyhat_zps975d35fd.gif[/img]</td></center>
						<td>
							<center>
								Red Partyhat</center>
						</td>
						<td>
							<center>
								1.2-1.8B</center>
						</td>
					</tr>
					<tr>
						<td><center>
							[img]http://i1109.photobucket.com/albums/h436/OldEdi/RaresMisc/YellowPartyhat_zpsf7530910.gif[/img]</td></center>
						<td>
							<center>
								Yellow Partyhat</center>
						</td>
						<td>
							<center>
								2.5-3.5B</center>
						</td>
				</tbody>
			</table></center>
</body>
try removing <body> at the top and </body> at the bottom
note: if you have enabled html posting for all users then it might be dangerous for your forum
i have remove the <body></body> but it still the same.

How do i make it only for administrator can use it?
give your forum's thread URL where you are using above table code

you can use html in posts plugin to allow html posting for specific group members (or specific users)
^ are you using a WYSIWYG editor ? there are many break lines (<br>) to produce blank lines hence that gap
nope..i dont use another editor.
^ can you provide a temporary admin account through PM to check the issue
and you should remove html posting for all users and use above suggested plugin (post #4)
Ok i will pm you my account to go admincp

Edit: im using CKEditor WYSIWYG editor also show me space on top..But i look at my edit post there no </br> or </ br>