View Full Version : Putting the page "inside" the body?
WritersBeat
09-28-2006, 10:03 PM
Take a look at http://www.talklosangeles.com and http://www.writersbeat.com they are both nested within the body (the outside is a gradient or a different color)
I've been doing the same thing with http://www.indigosociety.com but the damn thing won't go inside the body, once I created a color for the page it took up the entire damn thing. And if I put a padding 20px or margin20px it messes up everything and creates scrolling horizontally.
Any help?
WritersBeat
09-30-2006, 05:45 AM
Anyone?
hotwheels
09-30-2006, 06:19 AM
not really sure what you are looking for here......I looked at all of the url's you posted and i just can't seem to understand for sure what putting the page in the body means......sorry for my misunderstanding.
Are you wanting to ad a border around your page? if so, try this:
go to: Admin CP -> Styles & Templates -> Style Manager -> Common Templates (in the menu)
and in the header do this: <!-- border -->
<table border="2" align="center" cellpadding="0" cellspacing="0" bordercolor="#7B9AC6">
<tr>
<td>
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
</td>
</tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output, Then go to your footer and do this <br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />
$spacer_close
<!-- /content area table -->
<form action="$vboptions[forumhome].php" method="get">
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<if condition="$show['quickchooser']">
<td class="tfoot">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="$vbphrase[quick_style_chooser]">
$quickchooserbits
</optgroup>
</select>
</td>
</if>
<if condition="$show['languagechooser']">
<td class="tfoot">
<select name="langid" onchange="switch_id(this, 'lang')">
<optgroup label="$vbphrase[quick_language_chooser]">
$languagechooserbits
</optgroup>
</select>
</td>
</if>
<td class="tfoot" align="$stylevar[right]" width="100%">
<div class="smallfont">
<strong>
<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if>
<a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
<if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
</strong>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- /border -->
<br />
<div align="center">
<div class="smallfont" align="center">
<!-- Do not remove this copyright notice -->
$vbphrase[powered_by_vbulletin]
<!-- Do not remove this copyright notice -->
</div>
<div class="smallfont" align="center">
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
$cronimage
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
$vboptions[copyrighttext]
</div>
</div>
</form>
<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->
</if>
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>__________________
WritersBeat
09-30-2006, 06:22 AM
That's completely different from my templates. Wouldn't that mess everything up?
And yes I want a border around the page. Just like http://www.talklosangeles.com http://www.writersbeat.com and the default vb skin. Hmm
hotwheels
09-30-2006, 07:24 AM
my post didn't come out right
hold on a minute
This will probably be easier to do if you go here..... http://www.vbulletin.com/forum/showthread.php?t=101983&highlight=side+border
WritersBeat
10-01-2006, 05:28 AM
Alright I did it so that it has the affect I want, except I want the footer to be in that box to. hmm
hotwheels
10-01-2006, 03:16 PM
k, let me look at your site again and i will see what we can do....
where it say's "time and vbulletin"?
WritersBeat
10-01-2006, 08:43 PM
k, let me look at your site again and i will see what we can do....
where it say's "time and vbulletin"?
I figured it out. Thank you for the help though :)
hotwheels
10-02-2006, 12:08 AM
not a problem, you are very welcome
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.