>>
Site Map
>>
Forums
>>
General 7x
Forum module - topics in forum:
General 7x - Discussions reagarding any other PHP-Nuke Problems. 7x
'Content' page control
Hi all,
Below is a screenshot of a page on my site.
Can anyone tell me why there is such a large gap (red arrows) between the 'Title' and the 'Header text',
and also between the,
'Header text' and the 'Page text'?
I havent deliberately put any spaces between these so they must be controlled in the PHP programming somewhere. Can someone tell me where please?
Is it possible to change the size of these gaps?

Hi D4CUE
Looking at the HTML of the page, it's producting <BR><BR><BR><BR> which is giving you the line breaks. So, if you check the code, look for these line breaks in the code, and in PHP they are sometimes in the code as <b>\n</b>
If you post your code, we can take a look.
Be sure to back up your files before you do anything, but try looking for either <br> or \n in your code.
Mal
Heres the code as input.
Header text:
<center><b>View Season</b>
<A HREF="http://www.northeast8ball.co.uk/modules.php?name=Content&pa=showpage&pid=15"><img src="http://northeast8ball.co.uk/Leagues/SouthTyne/Buttons/Bsm2005.gif"border=0></A><A HREF="http://www.northeast8ball.co.uk/modules.php?name=Content&pa=showpage&pid=1"><img src="http://northeast8ball.co.uk/Leagues/SouthTyne/Buttons/Bsm2006.gif"border=0></A><A HREF="http://www.northeast8ball.co.uk/modules.php?name=Content&pa=showpage&pid=16"><img src="http://northeast8ball.co.uk/Leagues/SouthTyne/Buttons/Bsm2007.gif"border=0></A>
</center>
<center>
<b>Printable League forms are available by clicking the buttons below:</b>
<A HREF="http://www.northeast8ball.co.uk/Leagues/SouthTyne/2006/2006Fixtures.doc"><img src="http://northeast8ball.co.uk/Leagues/SouthTyne/Buttons/B_Fixtures.gif"border=0></A><A HREF="http://www.northeast8ball.co.uk/Leagues/SouthTyne/2006/Tables.xls"><img src="http://northeast8ball.co.uk/Leagues/SouthTyne/Buttons/B_Table.gif"border=0></A><A HREF="http://www.northeast8ball.co.uk/Leagues/SouthTyne/2006/South_Tyneside_Rules.doc"><img src="http://www.northeast8ball.co.uk/Leagues/SouthTyne/Buttons/B_Rules.gif"border=0></A><A HREF="http://www.northeast8ball.co.uk/Leagues/SouthTyne/2006/PROCEDURAL RULES_rev060401.doc"><img src="http://www.northeast8ball.co.uk/Leagues/SouthTyne/Buttons/B_Proc.gif"border=0></A><A HREF="http://www.northeast8ball.co.uk/Leagues/SouthTyne/2006/South_Tyneside_Scorecards.doc"><img src="http://www.northeast8ball.co.uk/Leagues/SouthTyne/Buttons/B_Scorecard.gif"border=0></A><A HREF="http://www.northeast8ball.co.uk/Leagues/SouthTyne/2006/South_Tyneside_Venues.doc"><img src="http://www.northeast8ball.co.uk/Leagues/SouthTyne/Buttons/B_Venues.gif"border=0></A>
</center>
Page text:
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="82%" id="AutoNumber1" align="left">
<tr>
<td width="14%"><u><b>Position</b></u></td>
<td width="18%"><u><b>Name</b></u></td>
<td width="10%"><u><b>E-mail</b></u></td>
<td width="17%"><u><b>Telephone</b></u></td
I'm thinking the spaces are automatically inserted in every new 'page' by the PHP that generates a page. Maybe I need to look at this.
http://phpnuke-uk.net/modules.php?name=Forums&file=viewtopic&t=5469&highlight=content+br
As the asker of the origional question remarks........
You are the man..
Cheers.
No worries.
