You are not enjoying the benefits offered by registering. To register click here...
  
Forums | Prefs | Your Messages | Members | Recent | Search
Quick Search


Advanced Search
| Calendar | Doc | Dev' Blog! |
Chat (Alpha Version)

Guest, do not forget to login ( Register )
 Top > Forums > This Software > Support, FAQ, How-to's
 What is wrong with this table?

Skin Selection:
 (1 pages) 1  
Jasper

Public Speaker
Group: Testers
Posts: 561
Reputation: 10


Posted on Apr 6, 2006, 8:35 pm by Jasper
What is wrong with this table?
I'm trying to make a portal page (very basic at first, then I'll make it better later) but the table doesn't seem to be displaying correctly.

Code:
echo "
<table border='1'>
<tr>
<td>Headlines</td>
<td>Last Topics</td>
</tr>
<tr>
<td>";
require "modules/headlines.php";
echo "</td><td>";
require "modules/lasttopics.php";
echo "</td></tr></table>";


animeworld.militate.com/do_page_n_portal
doesn't come here often, cause he has no free time ;_;
 
Top

trinest

Devoted Beast
Group: Testers
Posts: 1,273
Reputation: 9


Posted on Apr 7, 2006, 8:17 am by trinest
That banner scares me, as for the table meh.
( Trinest.Com )
 
Top

Jasper

Public Speaker
Group: Testers
Posts: 561
Reputation: 10


Posted on Apr 7, 2006, 9:43 am by Jasper
 trinest wrote:
That banner scares me, as for the table meh.


As for the table, know how to fix it?
And it's a temp banner, I only had the board open a few days lol

Last edit by Jasper on Dec 31, 1969, 7:00 pm
doesn't come here often, cause he has no free time ;_;
 
Top

chris

The Culprit
Group: Admins
Posts: 1,516
Reputation: 38


Posted on Apr 7, 2006, 4:33 pm by chris
 Jasper wrote:
I'm trying to make a portal page (very basic at first, then I'll make it better later) but the table doesn't seem to be displaying correctly.

Code:
echo "
<table border='1'>
<tr>
<td>Headlines</td>
<td>Last Topics</td>
</tr>
<tr>
<td>";
require "modules/headlines.php";
echo "</td><td>";
require "modules/lasttopics.php";
echo "</td></tr></table>";


animeworld.militate.com/do_page_n_portal


Well, I know it's counter-intuitive, but you do not want to display <td> or </td> before or after your call to headlines.php
Each headline displayed comes with its own <td>...</td> pair.

I *really* need to work on the finishing touch for these modules: a much simpler call.

 
Top

Jasper

Public Speaker
Group: Testers
Posts: 561
Reputation: 10


Posted on Apr 7, 2006, 7:38 pm by Jasper
Oooh ok, I think I understand.
I'll have another go at it then edit this post with my results.

Edit: The things I have to go through..... Oh well, at least now it works

Everything works now, thanks

btw Chris, the "creat a page/portal" feature in the ACP is probably my favorite one ^_^
Good job with it

Last edit by Jasper on Dec 31, 1969, 7:00 pm
doesn't come here often, cause he has no free time ;_;
 
Top

 (1 pages) 1 - Flat Mode | Threaded Mode  
Quick Jump:

         
Page generated in 0.04 seconds (Queries: 0.00) - Cpu: 0.11
Total DB [adodb:mysql] queries: 14
Total Strings Translated: 14
Powered by NextBBS SE v0.4.5 - Copyright © 2007 CFR & The NextBBS Team
Chatbox powered by smiletag