1
wellstuck
large gap in modules
  • 2007/12/6 13:58

  • wellstuck

  • Just popping in

  • Posts: 35

  • Since: 2007/11/14


I have a problem in the Userpage module and with the AMS Article Management System. I enter html that I have put together on dreamweaver and when i submit the page and go to read the page, i get about 4 x A4 blank pages of space and then i get me article at the bottom. I can't imagine what is causing this on 2 different modules. What do I do because other people must be using the modules fine. I am using php5 so could this be the problem as I have heard it causes problems with other modules.

Does anyone know

2
script_fu
Re: large gap in modules

Can you give us a link to "just the html" your posting in the modules?

3
christian
Re: large gap in modules
  • 2007/12/6 14:40

  • christian

  • Just can't stay away

  • Posts: 401

  • Since: 2002/2/24


if in your html code you have for sample :

<table>
 <
tr>
  <
td>bla bla</td>
.....


You must modify as this :
<table><tr><td>bla bla</td>...

4
Will_H
Re: large gap in modules
  • 2007/12/6 16:50

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


^^agreed

This is because of XOOPS line break coversion. anytime you hit enter in the editor XOOPS inserts a <br />

5
wellstuck
Re: large gap in modules
  • 2007/12/8 9:54

  • wellstuck

  • Just popping in

  • Posts: 35

  • Since: 2007/11/14


I have made a smaller test page because the other was enormous and it would take too much space up with the code. Here is the code that I have used. Hope it works

<body>
<table width="634" height="195" border="0">
<tr>
<td colspan="3"><div align="center">
<p><font color="#FF0000" size="3" face="Verdana, Arial, Helvetica, sans-serif"><strong>test
page for modules</strong></font></p>
<p>&nbsp;</p>
</div></td>
</tr>
<tr>
<td width="46"><div align="center"></div></td>
<td width="538"><div align="center">
<p><font face="Verdana, Arial, Helvetica, sans-serif"><strong>This is
a test page blah blah blah blah blah blahblah blah blah blah blah blah</strong></font></p>
<p><font face="Verdana, Arial, Helvetica, sans-serif"><strong>blah blah
blah blah blah blahblah blah blah blah blah blah</strong></font></p>
<p><font face="Verdana, Arial, Helvetica, sans-serif"><strong>blah blah
blah blah blah blahblah blah blah blah blah blah</strong></font></p>
</div></td>
<td width="36"><div align="center"></div></td>
</tr>
<tr>
<td><div align="center"></div></td>
<td><div align="center"><font face="Verdana, Arial, Helvetica, sans-serif"></font></div></td>
<td><div align="center"></div></td>
</tr>
<tr>
<td><div align="center"></div></td>
<td><div align="center"><font face="Verdana, Arial, Helvetica, sans-serif"><strong>blah
blah blah blah blah blahblah blah blah blah blah blah</strong></font></div></td>
<td><div align="center"></div></td>
</tr>
<tr>
<td><div align="center"></div></td>
<td><div align="center"></div></td>
<td><div align="center"></div></td>
</tr>
</table>
</body>[extend]



I did bunch the tags together as suggested but it didn't work. I am really a novice at coding so please bear with me

6
zyspec
Re: large gap in modules
  • 2007/12/8 15:08

  • zyspec

  • Module Developer

  • Posts: 1093

  • Since: 2004/9/21


Try removing the width="634" in your <table> definition to see if that helps. Some themes don't have 634 pixels in the center section so the contents are displayed "after" the left/right blocks so it will "dump" the contents at the bottom of the page (also may depend on your browser). You might also have to modify <td width="538"> to something smaller. You might consider changing all your width settings to percentage (e.g. instead of width="46" try width="7%")

The other option is to use a variable width theme to see if that helps.

7
wellstuck
Re: large gap in modules
  • 2007/12/8 17:57

  • wellstuck

  • Just popping in

  • Posts: 35

  • Since: 2007/11/14


I changed the table to just 400 wide, and it still sits in exactly the same place at the bottom of the page. I am snookered. This happens with AMS, Userpages and MXDirectory so its obviously something i am doing wrong but I haven't a clue

8
zyspec
Re: large gap in modules
  • 2007/12/8 18:21

  • zyspec

  • Module Developer

  • Posts: 1093

  • Since: 2004/9/21


Which theme are you using?

9
wellstuck
Re: large gap in modules
  • 2007/12/8 20:29

  • wellstuck

  • Just popping in

  • Posts: 35

  • Since: 2007/11/14


phpkaox, could this be the problem. On my home page my centre block has the exact same html in and shows fine, it just seems to be a problem with the modules

10
Will_H
Re: large gap in modules
  • 2007/12/8 20:42

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


theme source

Style source

You know there doesn't seem to be anything unusual about this theme. Unless of course you modified it.

Would it be possible for you to provide a link to the site with the theme?

Login

Who's Online

64 user(s) are online (43 user(s) are browsing Support Forums)


Members: 0


Guests: 64


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits