PDA


View Full Version : Setting the width of custom content to the same as news


Mattius
05-03-2005, 11:55 PM
I have a bit of problem with my site.

If you look at the homepage, www.gamerscurse.com, the news appears fine, nice and centred and looks spiffy. If you click on the "The King Speaks" option in the guild menu, the "custom content" is way bigger, and i cant figure out why, because i have virtually identical table setup..

Heres the code for template that is the king speaks.


<table align="center" border="0" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="100%">
<tr>
<td class="tcat">

<span class="smallfont"><strong>$vba_options[portal_blockbullet] $mods[title]</span></strong></td></tr>

<tr><td class="alt2"><p align="left"><strong><color="#666666" size="2"> <em>Welcome to the Knights of the Cross website. We are a newish guild to WoW, and are open for recruiting.</em></strong></p>

<p align="left"><strong><color="#666666" size="2"> <em>
If you have any enquiries or questions, You can post <a
http://www.gamerscurse.com/forumdisplay.php?f=2">here</a> </em></strong></p>
<pre><em><strong><color="#666666" size="4">
There are no level requirements for the guild or class etc.

There is only 1 rule that we go bye and the number #1 rule is:
"NO GNOMES ARE ALLOWED IN MY GUILD!"
And that is about all .</strong></em></pre></td></tr></tr></table>


Cant understand why the news is perfect but custom page is so wide...

ANy help is greatly appreciated.

mholtum
05-04-2005, 12:05 AM
and your application page is whacked as well.

Brian
05-04-2005, 12:34 AM
Looks like it's something to do with the <pre> tags in your code. Remove those and use some <br /> tags in the proper places and it should display properly.

Mattius
05-04-2005, 01:36 AM
nvm i think ive solved it with whatever i did with the "ranks" page....

Ill use that is the basis for my simple future pages...BUT i have another question..

How can i change $mods[title] to reflect the true title of the template? such as Guild Ranks, instead of the standard "Custom Page Content"

Mattius
05-04-2005, 01:37 AM
and your application page is whacked as well.

hehe ya, and it still is, although all the others now work apart from changing the title in each one.

Mattius
05-05-2005, 05:07 AM
How can i change $mods[title] to reflect the true title of the template? such as Guild Ranks, instead of the standard "Custom Page Content"

Still wondering how i can do this one.

Any help greatly appreciated.

Mattius
05-06-2005, 04:48 AM
problem solved