MyBB Community Forums

Full Version: Vienna Theme - Weird Portal Spacing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
For some reason, the announcement post has a huge margin on it.

[Image: SPVsuIr.png]

Here is my portal template
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_announcements} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php?portal=1" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_announcements} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?portal=1&type=atom1.0" />
{$headerinclude}
</head>
<body id="portal">
{$header}
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr>

<td>&nbsp;</td>
<td valign="top">
  {$welcome}
{$announcements}
{$multipage}
</td>
  <td valign="top" width="23%">

{$pms}
{$latestthreads}
{$stats}
{$whosonline}
</td>
</tr>
</table>
{$footer}
</body>
</html>

Here is the portal_announcement template
<table cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$icon} <a href="{$mybb->settings['bburl']}/{$announcement['threadlink']}">{$announcement['subject']}</a></strong></td>
</tr>
<tr>
<td class="trow2" align="right">
<span class="smalltext">{$lang->posted_by} {$profilelink}  - {$anndate} {$numcomments}</span>
</td>
</tr>
<tr>
<td class="trow1">
<table border="0" cellpadding="{$theme['tablespace']}" class="tfixed" style="width: 100%;">
	<tr>
		{$avatar}
		<td class="trow1 scaleimages">
			<p>
				{$message}
			</p>
			{$post['attachments']}
		</td>
	</tr>
	<tr>
		<td align="right" colspan="2" valign="bottom">
			<span class="smalltext">
				<a href="{$mybb->settings['bburl']}/printthread.php?tid={$announcement['tid']}"><img src="{$theme['imgdir']}/printable.png" alt="{$lang->print_this_item}" title="{$lang->print_this_item}" /></a>{$senditem}
			</span>
		</td>
	</tr>
</table>
</td>
</tr>
</table>
<br />

If you need anything else, just ask.

Here's the forum http://kopacetic.cf/forum/
it is appearing normal for the guests. provide a test user account to check it as a member
user: test
pass: supertest

I just logged out to see if it's normal for guest, and I still see the spacing

[Image: MPs1Oau.png]
^ what is your screen resolution and monitor size ..
My resolution is 1080p
^ looks like that thread has break lines (may be used enter key in WYSWYG mode) between the sentences
(2015-01-28, 06:54 AM).m. Wrote: [ -> ]^ looks like that thread has break lines (may be used enter key in WYSWYG mode) between the sentences

It's funny that you mention that. Because whenever I copy and paste text, it creates a blank line below it.
well, if it is due to copy pasted text then there are some issues with the editor and need fixing !
(2015-01-28, 07:06 AM).m. Wrote: [ -> ]well, if it is due to copy pasted text then there are some issues with the editor and need fixing !

Yeah, I checked the bbcode_sceditor.js file, and cut the Imgur fucntion, and it's now working fine.