Creating Portal Block With No Padding

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
the.ronin
Valued Contributor
Posts: 64
Joined: 30. October 2008 16:20

Creating Portal Block With No Padding

Post by the.ronin »

Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge

What have you done before the problem was there?


What have you already tryed to solve the problem?


Description and Message
The default style for the portal block has an inherent padding. When I imbed a Flash file file, I have to resize it to take the padding into consideration otherwise it “breaks” outside of the protal block and disturbs the spacing between the center and side blocks.

I have tried to address this by changing from:

Code: Select all

<!--version $Id: link_us.html 236 2008-05-18 15:50:06Z kevin74 $ //-->
<div class="portal-panel">
	<div class="inner">
		<span class="portal-corners-top"><span></span></span>
			CONTENT
		<span class="portal-corners-bottom"><span></span></span>
	</div>
</div>
<br style="clear:both" />
... to:

Code: Select all

<!--version $Id: link_us.html 236 2008-05-18 15:50:06Z kevin74 $ //-->
<div class="portal-panel">
<div class="inner">
<span class="portal-corners-top"><span></span></span>
<h3>TITLE</h3><br style="clear:both" />
</div></div>
<div style="margin-top: -10px; background-color:#D2D9E3;">
			CONTENT
		</div><div class="portal-panel"><div class="inner">
<br />
<span class="portal-corners-bottom"><span></span></span>
</div>
</div>
<br style="clear:both" />
Although the changes remove the padding and I am able to resize the Flash file to the full width of the portal block, it ruins the style in IE6.

Is there a cleaner way to remove the padding for a particular block which would be compatible with IE6? I presume I need to make a new style class?[/i]
Locked

Return to “board3 Portal 1.0.x - English Support”