View Full Version : How can I form a table?
Xplorer4x4
08-30-2005, 10:37 AM
Bassicly I am trying to create a new table. I added a second nav bar, but I want to create a table between the two nav bars so that I can place my forum banner inside of it.
So how might i go about creating this table?
Ranma2k
08-31-2005, 06:54 AM
Bassicly I am trying to create a new table. I added a second nav bar, but I want to create a table between the two nav bars so that I can place my forum banner inside of it.
So how might i go about creating this table?
o.O if you go and modify the template for the navbar ..
you can go to the end of the template and add a break line
<br>
And creat antoher table
<table>
<tr width=100%>
td></td>
</tr>
</table>
and you should have a table under the nav bar directly ..
fill it with the variables that you want and modifiy it as you want
Xplorer4x4
08-31-2005, 07:36 AM
I am trying to add a table to the bottom of my forums under the calender events for the google adds. I added a table between the two nav bars and now it looks like this?
I may have phrased that wrong in my first post. I am trying to make a border of sorts to fill in the gap between the two nav bars.
Help Please?!
I have inlcuded screen shots of both.
Ranma2k
08-31-2005, 07:43 AM
I am trying to add a table to the bottom of my forums under the calender events for the google adds. I added a table between the two nav bars and now it looks like this?
I may have phrased that wrong in my first post. I am trying to make a border of sorts to fill in the gap between the two nav bars.
Help Please?!
I have inlcuded screen shots of both.
i still don't get what do you want to do ..
you want to creat a table
located where ?!
what the table for ?
if posible can you take a snap shot of what do you want to do ( post comments on it )
Xplorer4x4
08-31-2005, 07:58 AM
First off thank you so much for helping. :)
Secondly I have atched my nav bar template below. I have attached 2 screen shots. The first one is how my forums nav bar looks. The second one shows a border connecting the two nav bar around the forum banner. I doctored the second picture as to explain what I am trying to achieve.
Ranma2k
08-31-2005, 10:20 AM
if this is what your looking for
you'll find it in the attached file
Xplorer4x4
08-31-2005, 10:36 AM
GENIUS :) Thank you sooooo much, but I still have 2 questions.
On the default skins it makes a purpleish box around the banner. Can I remove that?
Secondly, is there anyways to get the extra space out between the nav bars and the banner?
Lastley you used this varible to create the table:
<tr align="center">
<td colspan="8">
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="http://www.xtremepain.net/banners/index.php" border="0" alt="$vboptions[bbtitle]" /></a>
</td>
</tr>
<!-- / top nav buttons bar -->
By using that as a tempalte can this be used to create another table belwo the courrent events table to place my google adds in?
Thank you again for your help.
Ranma2k
08-31-2005, 11:21 AM
On the default skins it makes a purpleish box around the banner. Can I remove that?
Yes the row takes the style of the table it's
if you want the back ground a white one .. you can change the code
<td colspan="8">
with
<td colspan="8" bgcolor="#FFFFFF">
Secondly, is there anyways to get the extra space out between the nav bars and the banner?
yes
use
<td colspan="8" cellspacing="0">
By using that as a tempalte can this be used to create another table belwo the courrent events table to place my google adds in?
actully this code will only add a table row with one columns ( actully span 8 columns at once )
so if you want to add it in another table make sure that the number of columns in that table and add it in the
<td colspan="8">
Xplorer4x4
08-31-2005, 11:33 AM
Thank you again, but the spacing isn't working. I changed
<td colspan="8">
to
<td colspan="8" cellspacing="0" bgcolor="#FFFFFF">
The bgcolor took affect but there is still a gap. As best I can see i added those codes togeather correct.
On the table thing, how can I distinguish what colspan number to use? I THINK I can figure the rest out form there.:ermm:
Ranma2k
08-31-2005, 12:20 PM
Sorry my mistake i understoed it wrong
please change the code from
<td colspan="8" cellspacing="0" bgcolor="#FFFFFF">
to
<td colspan="8" height="AAAA"> bgcolor="#FFFFFF">
And replace the AAAA with the height of your Image
Xplorer4x4
08-31-2005, 12:31 PM
Thanks again, but again that did not work. My banner is 200 pixels high. I replaced AAAA to 200. That did not change it. I chaned AAAA to 150 and it still did nothing.
On the second code I assume you meant:
<td colspan="8" height="AAAA" bgcolor="#FFFFFF">
not
<td colspan="8" height="AAAA"> bgcolor="#FFFFFF">
Correct?
So my code looks like
<td colspan="8" height="200" bgcolor="#FFFFFF">
Ranma2k
08-31-2005, 01:00 PM
Sorry again my bad .. ( i need to go home i had alooong working day :( )
try this code insted
<td colspan="8" style="height:200px; background:background-color:#FFFFFF">
Xplorer4x4
08-31-2005, 01:13 PM
I reallly hate to tell you this but it didn't work, and now the pruple table is back. :(
Ranma2k
08-31-2005, 01:18 PM
o.O
/me splash some water on face
let me get it right ..
what is the problem exactly cuz i'm really confused ...
and can you please post the link to your forum ..
Xplorer4x4
08-31-2005, 01:34 PM
www.xtremepain.net (http://www.xtremepain.net/)
lol, the problem is that there is still a space between my banners and the nav bars. Secondly, the table color is purple again on the vB3 orignal skin, the tbale that the banners is in.
Don't feel bad, I get to go lay on the table at the DR have my spine litteraly streched now. sound like fun ehh? :(
Ranma2k
08-31-2005, 03:01 PM
www.xtremepain.net (http://www.xtremepain.net/)
lol, the problem is that there is still a space between my banners and the nav bars. Secondly, the table color is purple again on the vB3 orignal skin, the tbale that the banners is in.
Don't feel bad, I get to go lay on the table at the DR have my spine litteraly streched now. sound like fun ehh? :(
omg i compleatly overlooked themain table
if you check up the code you'll find something cellpadding="6"
that is what is causing the space
you have to set it to 0
Xplorer4x4
09-01-2005, 05:37 AM
LOL...hmm maybe we should give this a shot today?
Ok here is what I had BEFORE your last posL
<tr align="center">
<td colspan="8" style="height:200px; bgcolor="#FFFFFF">
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="http://www.xtremepain.net/banners/index.php" border="0" alt="$vboptions[bbtitle]" /></a>
</td>
</tr>
Here is what I have now.
<tr align="center">
<td colspan="8" cellpadding="0" style="height:200px; bgcolor="#FFFFFF">
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="http://www.xtremepain.net/banners/index.php" border="0" alt="$vboptions[bbtitle]" /></a>
</td>
</tr>
The gaps are still there and the table is still not padded. :ermm:
I am going to atempt to switch the nav bars myself as I was actually wanting to put the navbar I added to be on bottom and the default one be on top. I will let you knwo hwo that goes though.
Ranma2k
09-02-2005, 12:16 AM
Ok i have rewrite the code and made sure that it should fix your problems
check it and let me know if anything wrong
Xplorer4x4
09-02-2005, 10:10 AM
Well one step closer....Now the only problem is that there is still a slight space between the banners and bottom nav bar.
Thank you again...and about those tables...I have a table made..but how can i form a catogrey?
<!-- end today's birthdays -->
</if>
<if condition="$show['upcomingevents']">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
<tr>
<td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</tr>
</tbody>
</if>
<tbody class="alt1">
<tbody>
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="Users online today" border="0" /></td>
<td class="alt1" width="100%"><div class="smallfont"><script type="text/javascript"><!--
google_ad_client = " * ";
google_ad_width = *;
google_ad_height = *;
google_ad_format = " * ";
google_ad_type = " * ";
google_ad_channel ="";
google_color_border = " * ";
google_color_bg = " * ";
google_color_link = " * ";
google_color_url = " * ";
google_color_text = " * ";
//--></script>
<script type="text/javascript"
src=" * ">
</script>
</div></td>
</tr>
</tbody>
</table>
<br />
<!-- end what's going on box -->
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.