Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-03-2006, 03:36 AM
TPOCJames's Avatar
TPOCJames TPOCJames is offline
 
Join Date: Dec 2005
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Extending Edges to Maximum

Okay. I'm trying to get my vBulletin to extend all the way to the edges of the screen (maximum width). Can someone please tell me how to do this? My table width is at 100% and it still isn't working

Link: http://into-thin-air.com
Reply With Quote
  #2  
Old 08-03-2006, 06:20 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to Main CSS and in the body tag change the default:

Code:
margin: 5px 10px 10px 10px;
To
Code:
margin: 5px 0 10px 0;
Reply With Quote
  #3  
Old 08-03-2006, 08:52 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The best way to do it, is actually to go into All Style Options (via the style manager) for the style that you wish to change, and set the spacer size, and outer border width to a lower number. Experiment with these till you get the effect that you want.

Freesteyelz's method will sorta work, but will result in an uneven appearance as the spacer and outerboarder width are used in the majority of templates and so just adjusting the body tag will result in a jagged look.
Reply With Quote
  #4  
Old 08-04-2006, 01:34 AM
TPOCJames's Avatar
TPOCJames TPOCJames is offline
 
Join Date: Dec 2005
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry... I should've explained more.

I want the footer to extend all the way to the end. Will the methods above work?
Reply With Quote
  #5  
Old 08-04-2006, 01:38 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

set the spacer size and outer border width settings to 0

This will then stretch your entire style to fit from the extreme left to the extreme right of the browser window (assuming fluid style of course)
Reply With Quote
  #6  
Old 08-04-2006, 02:32 AM
TPOCJames's Avatar
TPOCJames TPOCJames is offline
 
Join Date: Dec 2005
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, that almost extended it to the end.

If you take a look now, it still has about 1px seperating it from extending all the way.

EDIT: Sorry, I sounded sarcastic a bit. I really mean thank you.
Reply With Quote
  #7  
Old 08-04-2006, 02:35 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats the cell padding, but if you change that it will squash all your tables throughout your site.

The tiny gap there (black on black so not noticable) actually makes it easy to read as it has more definition between the edge of the window and the text/images
Reply With Quote
  #8  
Old 08-04-2006, 02:44 AM
TPOCJames's Avatar
TPOCJames TPOCJames is offline
 
Join Date: Dec 2005
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to make this one not affected by the cell padding on the rest of the site?

Also, if you look at the top where the header is, the line there extends all the way to the end.

Someone suggested that I put the spacer close before the footer, think it'd work?

In case it helps, here is my footer code to evaluate.

Code:
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td class="alt1" style="border-top: 1px solid $stylevar[tborder_bgcolor]; border-bottom: 1px solid $stylevar[tborder_bgcolor];">
<div class="smallfont" align="center"><em>&quot;$randomquote[quote]&quot;</em> - <strong>$randomquote[author]</strong></div>
</td>
</tr>
</tbody></table>
Reply With Quote
  #9  
Old 08-04-2006, 01:44 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your board is closed to guests so I cannot see what you are looking at. I can also only assume that I am looking at the same style as you (which it might not be) and can only see the banner, a log in/register box, and the footer.

The code you have posted there is not a full footer code, so I can't evaluate that.
Reply With Quote
  #10  
Old 08-04-2006, 11:19 PM
TPOCJames's Avatar
TPOCJames TPOCJames is offline
 
Join Date: Dec 2005
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oops, sorry, you're right. I forgot to post the whole thing. My bad.

Code:
<!-- random quote -->
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td class="alt1" style="border-top: 1px solid $stylevar[tborder_bgcolor]; border-bottom: 1px solid $stylevar[tborder_bgcolor];">
<div class="smallfont" align="center"><em>&quot;$randomquote[quote]&quot;</em> - <strong>$randomquote[author]</strong></div>
</td>
</tr>
</tbody></table>
<!-- / random quote -->

<!-- Paypal & Affiliates -->
	<table class="page" border="0" cellpadding="1" cellspacing="0" width="100%">
		<tbody><tr>
			<td class="page" align="left" valign="bottom">	
				<!-- Paypal -->
					<a href="http://into-thin-air.com" target="_blank"><img src="http://images.paypal.com/images/lgo/logo3.gif" border="0"></a>
				<!-- Paypal -->

    	            	</td>

        	

<td class="page" align="right" valign="bottom">
<a href="http://www.nexcess.net/affiliates/idevaffiliate.php?id=765"><img src="http://i15.photobucket.com/albums/a389/osiris2080/nex_btn4.gif" border="1"></a></td></tr>
	</tbody></table> 
<!--!-- Paypal & Affiliates ---->

<!-- Bottom Bar -->
	<table class="page" style="border-top: 1px solid $stylevar[tborder_bgcolor]; border-bottom: 1px solid $stylevar[tborder_bgcolor]; margin-bottom: 0px;  background-color: $stylevar[thead_bgcolor];" align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
		<!-- bottomlinks--> 
			<tbody><tr>
				<td class="tfoot" style="background-color: $stylevar[thead_bgcolor];" align="left">	
    		                   	<div class="smallfont">

						<!-- Do not remove this copyright notice -->
						$vbphrase[powered_by_vbulletin]
						<!-- Do not remove this copyright notice -->
						<!-- 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 -->
              		         	</div>
           		     	</td>
				<td class="tfoot" style="background-color: rgb(24, 18, 8);" align="right">

                     	  		<div class="smallfont">
                       				<strong><a href="archive/index.php"><u>Archive</u></a> |  <a href="index.php"><u>Refresh</u></a> | <a href="#top" onclick="self.scrollTo(0, 0); return false;"><u>Top</u></a>&nbsp;&nbsp;</strong>
                     				<br>All Original Schemes, Images, and Content is &copy;2006 <strong>Vanished: Into Thin Air</strong></a>
                    	 		  </div>

				</td>
  	      		</tr>
		<!-- /bottomlinks-->
	</tbody></table> 
<!-- /Bottom Bar -->


<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();
//--></td>
</script>
In case it helps, my margin settings are: 0px 0px 0px 0px. cellpadding is 0px as well.

I really don't know what's wrong.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:17 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04565 seconds
  • Memory Usage 2,263KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete