vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   style width/tables/banners (https://vborg.vbsupport.ru/showthread.php?t=174976)

bp323 04-03-2008 12:19 AM

style width/tables/banners
 
Currently im looking to learn what the current skin i have, is setup as. I know the pixel with is 983. is there anyway to make this self adapting & not needing a supplied pixel width? what i would like to do is split the current banner into a 3/4 size & have a time delayed rotating banner along the right of it in the remaining 1/4.
If anyone can give me further advice on what routes or modifications i need to perform i would be indebted to them.

Thanks

below is a copy of my current code running under VB ver. 3.6.4

Quote:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td><a href="index.php"><img src="images/redbar/elements/cplogo.jpg" border="0"></a></td>
</tr>
<tr>
<td background="images/redbar/elements/catsub.jpg" height="24" class="menu">
<center>
<a href="index.php">Forum Home</a> &nbsp;&nbsp;
<if condition="$show['member']">
<a href="usercp.php">User Panel</a> &nbsp;&nbsp;
</if>
<if condition="$show['registerbutton']">
<a href="register.php">Register</a> &nbsp;&nbsp;
</if>
<a href="memberlist.php">Member List</a> &nbsp;&nbsp;
<a href="calendar.php">Calendar</a> &nbsp;&nbsp;
<a href="faq.php">FAQ</a> &nbsp;&nbsp;
<if condition="$show['member']">
<a href="search.php">Search</a> &nbsp;&nbsp;
</if>
<if condition="$show['member']">
<a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">Logout</a>
</if>
&nbsp;&nbsp;
<a href="vbpicgallery.php">Vb Gallery</a>
&nbsp;&nbsp;
<a href="itrader_main.php">$vbphrase[itrader]</a>
&nbsp;&nbsp;
<a href="aim:gochat?roomname=clubprotege+Chat">Aim: Chatroom</a>
&nbsp;&nbsp;
<a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a>
</center>

</td>

</tr>
<tr>
<td width="983">
<!-- /logo -->

Dismounted 04-03-2008 04:52 AM

You can change the width of the table in the Admin CP > Styles & Templates > Style Drop-down > Edit Settings.

bp323 04-03-2008 09:02 PM

if i change the width from a pixel number to a Percentage. how will that effect things? & how would i continue from there to divide the top if it was in percentage format

Opserty 04-03-2008 09:23 PM

Percentage widths depend on the resolution, but they do what they save basically. So on a big resolution say (2048x1024) they still cover 90% of the screen as they would on a smaller resolution (say 1024x768). Basically it means people with big screens/resolutions have more of their screen dedicated to the site.

If you set a width in Pixels it means that the same number of pixels are occupied on the screen regardless of how big the screen is. So on a big screen it might only take up a small amount of the screen but on a small screen it could be far too big.

Pixels are absolute.
Percentages are relative.


All times are GMT. The time now is 06:33 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.01078 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete