xoops forums

wellstuck

Just popping in
Posted on: 2007/12/6 13:58
wellstuck
wellstuck (Show more)
Just popping in
Posts: 35
Since: 2007/11/14
#1

large gap in modules

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

script_fu

Friend of XOOPS
Posted on: 2007/12/6 14:08
script_fu
script_fu (Show more)
Friend of XOOPS
Posts: 1494
Since: 2002/12/27
#2

Re: large gap in modules

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

christian

Just can't stay away
Posted on: 2007/12/6 14:40
christian
christian (Show more)
Just can't stay away
Posts: 401
Since: 2002/2/24
#3

Re: large gap in modules

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>...

Will_H

Friend of XOOPS
Posted on: 2007/12/6 16:50
Will_H
Will_H (Show more)
Friend of XOOPS
Posts: 1786
Since: 2004/10/10
#4

Re: large gap in modules

^^agreed

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

wellstuck

Just popping in
Posted on: 2007/12/8 9:54
wellstuck
wellstuck (Show more)
Just popping in
Posts: 35
Since: 2007/11/14
#5

Re: large gap in modules

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

zyspec

Module Developer
Posted on: 2007/12/8 15:08
zyspec
zyspec (Show more)
Module Developer
Posts: 1056
Since: 2004/9/21
#6

Re: large gap in modules

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.

wellstuck

Just popping in
Posted on: 2007/12/8 17:57
wellstuck
wellstuck (Show more)
Just popping in
Posts: 35
Since: 2007/11/14
#7

Re: large gap in modules

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

zyspec

Module Developer
Posted on: 2007/12/8 18:21
zyspec
zyspec (Show more)
Module Developer
Posts: 1056
Since: 2004/9/21
#8

Re: large gap in modules

Which theme are you using?

wellstuck

Just popping in
Posted on: 2007/12/8 20:29
wellstuck
wellstuck (Show more)
Just popping in
Posts: 35
Since: 2007/11/14
#9

Re: large gap in modules

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

Will_H

Friend of XOOPS
Posted on: 2007/12/8 20:42
Will_H
Will_H (Show more)
Friend of XOOPS
Posts: 1786
Since: 2004/10/10
#10

Re: large gap in modules

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?