View Full Version : FAQ and Contact Page Width?
sjaguar13
05-28-2006, 04:14 PM
I took the default template and changed the header image, changed some colors to red, and made the width fit the new header image. Everything went fine until I noticed that the FAQ and Contact pages had stuff that doesn't fit within the page. Is there another variable or something I need to change for these?
http://www.antiquecarsforum.com/index.php?styleid=2 Main Forum
http://www.antiquecarsforum.com/faq.php?styleid=2 FAQ
http://www.antiquecarsforum.com/sendmessage.php?styleid=2 Contact
rogersnm
05-28-2006, 04:30 PM
can you post the template code for one of the 2 templates - either faq or contact - thanks.
Regards,
Nick.
sjaguar13
05-28-2006, 05:32 PM
This is the contact template:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[contact_us]</title>
</head>
<body>
$header
<if condition="$navbar">$navbar<else /><br /><br /></if>
<form action="sendmessage.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="docontactus" />
<input type="hidden" name="url" value="$url" />
<if condition="$show['errors']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">$vbphrase[errors_occured_when_submitted]:</td>
</tr>
<tr>
<td class="alt2">
<ol>$errormessages</ol>
</td>
</tr>
</table>
<br />
</if>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">
<span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[send_email_to_forum_administrator]</strong></span>
$vbphrase[contact_us]
</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
<fieldset class="fieldset">
<legend>$vbphrase[your_details]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
$vbphrase[your_name] :<br />
<input type="text" class="bginput" name="name" value="$name" size="50" />
</td>
</tr>
<tr>
<td>
$vbphrase[email_address] :<br />
<input type="text" class="bginput" name="email" value="$email" size="50" dir="ltr" />
</td>
</tr>
<if condition="$show['imagecheck']">
<tr>
<td>
$vbphrase[image_verification] :<br /><img src="image.php?$session[sessionurl]type=regcheck&imagehash=$imagehash" alt="$vbphrase[registration_image]" width="201" height="61" border="0" /><br /><br />
$vbphrase[please_enter_the_text_above_image] :<br />
<input type="text" class="bginput" name="imagestamp" size="50" maxlength="6" />
<input type="hidden" name="imagehash" value="$imagehash" />
</td>
</tr>
</if>
</table>
</fieldset>
<fieldset class="fieldset">
<legend>$vbphrase[subject]</legend>
<div style="padding:$stylevar[formspacer]px">
<if condition="$vboptions['contactusoptions']">
$contactusoptions
<div>
<label for="rb_subjother"><input type="radio" name="subject" value="other" id="rb_subjother" />$vbphrase[other]</label>
<input type="text" class="bginput" name="other_subject" size="40" maxlength="85" />
</div>
<else />
$vbphrase[subject] :<br />
<input type="text" class="bginput" name="subject" value="$subject" size="50" maxlength="85" />
</if>
</div>
</fieldset>
<div class="fieldset">
$vbphrase[message]:<br />
<textarea name="message" rows="10" cols="50" wrap="virtual" style="width:$stylevar[messagewidth]">$message</textarea>
</div>
</div>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="submit" class="button" value="$vbphrase[send]" accesskey="s" />
<input type="reset" class="button" name="reset" value="$vbphrase[reset_fields]" accesskey="r" />
</div>
</td>
</tr>
</table>
</form>
$footer
</body>
</html>
rogersnm
05-28-2006, 05:39 PM
The one at the top is the one most likely to work but the second one is more template firendly if you change styles and then if all else fails try the 3rd....
Change it to:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[contact_us]</title>
</head>
<body>
$header
<if condition="$navbar">$navbar<else /><br /><br /></if>
<form action="sendmessage.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="docontactus" />
<input type="hidden" name="url" value="$url" />
<if condition="$show['errors']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="738px" align="center">
<tr>
<td class="tcat">$vbphrase[errors_occured_when_submitted]:</td>
</tr>
<tr>
<td class="alt2">
<ol>$errormessages</ol>
</td>
</tr>
</table>
<br />
</if>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="738px" align="center">
<tr>
<td class="tcat">
<span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[send_email_to_forum_administrator]</strong></span>
$vbphrase[contact_us]
</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
<fieldset class="fieldset">
<legend>$vbphrase[your_details]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
$vbphrase[your_name] :<br />
<input type="text" class="bginput" name="name" value="$name" size="50" />
</td>
</tr>
<tr>
<td>
$vbphrase[email_address] :<br />
<input type="text" class="bginput" name="email" value="$email" size="50" dir="ltr" />
</td>
</tr>
<if condition="$show['imagecheck']">
<tr>
<td>
$vbphrase[image_verification] :<br /><img src="image.php?$session[sessionurl]type=regcheck&imagehash=$imagehash" alt="$vbphrase[registration_image]" width="201" height="61" border="0" /><br /><br />
$vbphrase[please_enter_the_text_above_image] :<br />
<input type="text" class="bginput" name="imagestamp" size="50" maxlength="6" />
<input type="hidden" name="imagehash" value="$imagehash" />
</td>
</tr>
</if>
</table>
</fieldset>
<fieldset class="fieldset">
<legend>$vbphrase[subject]</legend>
<div style="padding:$stylevar[formspacer]px">
<if condition="$vboptions['contactusoptions']">
$contactusoptions
<div>
<label for="rb_subjother"><input type="radio" name="subject" value="other" id="rb_subjother" />$vbphrase[other]</label>
<input type="text" class="bginput" name="other_subject" size="40" maxlength="85" />
</div>
<else />
$vbphrase[subject] :<br />
<input type="text" class="bginput" name="subject" value="$subject" size="50" maxlength="85" />
</if>
</div>
</fieldset>
<div class="fieldset">
$vbphrase[message]:<br />
<textarea name="message" rows="10" cols="50" wrap="virtual" style="width:$stylevar[messagewidth]">$message</textarea>
</div>
</div>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="submit" class="button" value="$vbphrase[send]" accesskey="s" />
<input type="reset" class="button" name="reset" value="$vbphrase[reset_fields]" accesskey="r" />
</div>
</td>
</tr>
</table>
</form>
$footer
</body>
</html>
and if that doesn't work change it to:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[contact_us]</title>
</head>
<body>
$header
<if condition="$navbar">$navbar<else /><br /><br /></if>
<form action="sendmessage.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="docontactus" />
<input type="hidden" name="url" value="$url" />
<if condition="$show['errors']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width:$stylevar[formwidth] align="center">
<tr>
<td class="tcat">$vbphrase[errors_occured_when_submitted]:</td>
</tr>
<tr>
<td class="alt2">
<ol>$errormessages</ol>
</td>
</tr>
</table>
<br />
</if>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width:$stylevar[formwidth] align="center">
<tr>
<td class="tcat">
<span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[send_email_to_forum_administrator]</strong></span>
$vbphrase[contact_us]
</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
<fieldset class="fieldset">
<legend>$vbphrase[your_details]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
$vbphrase[your_name] :<br />
<input type="text" class="bginput" name="name" value="$name" size="50" />
</td>
</tr>
<tr>
<td>
$vbphrase[email_address] :<br />
<input type="text" class="bginput" name="email" value="$email" size="50" dir="ltr" />
</td>
</tr>
<if condition="$show['imagecheck']">
<tr>
<td>
$vbphrase[image_verification] :<br /><img src="image.php?$session[sessionurl]type=regcheck&imagehash=$imagehash" alt="$vbphrase[registration_image]" width="201" height="61" border="0" /><br /><br />
$vbphrase[please_enter_the_text_above_image] :<br />
<input type="text" class="bginput" name="imagestamp" size="50" maxlength="6" />
<input type="hidden" name="imagehash" value="$imagehash" />
</td>
</tr>
</if>
</table>
</fieldset>
<fieldset class="fieldset">
<legend>$vbphrase[subject]</legend>
<div style="padding:$stylevar[formspacer]px">
<if condition="$vboptions['contactusoptions']">
$contactusoptions
<div>
<label for="rb_subjother"><input type="radio" name="subject" value="other" id="rb_subjother" />$vbphrase[other]</label>
<input type="text" class="bginput" name="other_subject" size="40" maxlength="85" />
</div>
<else />
$vbphrase[subject] :<br />
<input type="text" class="bginput" name="subject" value="$subject" size="50" maxlength="85" />
</if>
</div>
</fieldset>
<div class="fieldset">
$vbphrase[message]:<br />
<textarea name="message" rows="10" cols="50" wrap="virtual" style="width:$stylevar[messagewidth]">$message</textarea>
</div>
</div>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="submit" class="button" value="$vbphrase[send]" accesskey="s" />
<input type="reset" class="button" name="reset" value="$vbphrase[reset_fields]" accesskey="r" />
</div>
</td>
</tr>
</table>
</form>
$footer
</body>
</html>
if that doesn't work try:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[contact_us]</title>
</head>
<body>
$header
<if condition="$navbar">$navbar<else /><br /><br /></if>
<form action="sendmessage.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="docontactus" />
<input type="hidden" name="url" value="$url" />
<if condition="$show['errors']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="90%" align="center">
<tr>
<td class="tcat">$vbphrase[errors_occured_when_submitted]:</td>
</tr>
<tr>
<td class="alt2">
<ol>$errormessages</ol>
</td>
</tr>
</table>
<br />
</if>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="90%" align="center">
<tr>
<td class="tcat">
<span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[send_email_to_forum_administrator]</strong></span>
$vbphrase[contact_us]
</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
<fieldset class="fieldset">
<legend>$vbphrase[your_details]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
$vbphrase[your_name] :<br />
<input type="text" class="bginput" name="name" value="$name" size="50" />
</td>
</tr>
<tr>
<td>
$vbphrase[email_address] :<br />
<input type="text" class="bginput" name="email" value="$email" size="50" dir="ltr" />
</td>
</tr>
<if condition="$show['imagecheck']">
<tr>
<td>
$vbphrase[image_verification] :<br /><img src="image.php?$session[sessionurl]type=regcheck&imagehash=$imagehash" alt="$vbphrase[registration_image]" width="201" height="61" border="0" /><br /><br />
$vbphrase[please_enter_the_text_above_image] :<br />
<input type="text" class="bginput" name="imagestamp" size="50" maxlength="6" />
<input type="hidden" name="imagehash" value="$imagehash" />
</td>
</tr>
</if>
</table>
</fieldset>
<fieldset class="fieldset">
<legend>$vbphrase[subject]</legend>
<div style="padding:$stylevar[formspacer]px">
<if condition="$vboptions['contactusoptions']">
$contactusoptions
<div>
<label for="rb_subjother"><input type="radio" name="subject" value="other" id="rb_subjother" />$vbphrase[other]</label>
<input type="text" class="bginput" name="other_subject" size="40" maxlength="85" />
</div>
<else />
$vbphrase[subject] :<br />
<input type="text" class="bginput" name="subject" value="$subject" size="50" maxlength="85" />
</if>
</div>
</fieldset>
<div class="fieldset">
$vbphrase[message]:<br />
<textarea name="message" rows="10" cols="50" wrap="virtual" style="width:$stylevar[messagewidth]">$message</textarea>
</div>
</div>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="submit" class="button" value="$vbphrase[send]" accesskey="s" />
<input type="reset" class="button" name="reset" value="$vbphrase[reset_fields]" accesskey="r" />
</div>
</td>
</tr>
</table>
</form>
$footer
</body>
</html>
and tell me when your done and whether it worked..
sjaguar13
05-28-2006, 07:39 PM
None of them worked. The third one is the one up there now:
http://www.antiquecarsforum.com/sendmessage.php?styleid=2
Ntfu2
05-28-2006, 08:39 PM
simply make your layout about 62 pixels larger to fit it all in
sjaguar13
05-28-2006, 10:11 PM
simply make your layout about 62 pixels larger to fit it all in
That's not really fixing the problem as much as it is avoiding it.
Anyway, I fixed it!
rogersnm
05-29-2006, 06:25 AM
what did you do?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.