Welcome, Guest. Please Login or Register.
April 27, 2025, 10:46:50 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Graphics and Templates  |  Help .. how to modify template to allow sidebar « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Help .. how to modify template to allow sidebar  (Read 678 times)
riekl
Jr. Member
**
Posts: 89


I'm a llama!

Help .. how to modify template to allow sidebar
« on: October 01, 2002, 11:55:54 AM »
Reply with quote

I.e. I don't want frames, tried ti but that means a scrollbar in the middle of the screen thats not going to fly.  I see it everywhere (including right here) but the source on these pages is way to complex for me to figure out ..

All I want to know is what code do i put where in the template to create say a 100pixel wide column on the left hand side of all the pages ?  Whenever I try to use table codes it ends up putting it on the left .. but above everything else ... i.e. it looks like this


[m]
[y]


[d]
[e]

[a]
[r]
[ Then the rest of the boards appear normally below it]
Logged
riekl
Jr. Member
**
Posts: 89


I'm a llama!

Re:Help .. how to modify template to allow sidebar
« Reply #1 on: October 01, 2002, 12:29:06 PM »
Reply with quote

I figure it might be easier to helpme if you can see my current template, the code i am trying to add into this template is this:

----
<table width="30%" cellspacing="0" cellpadding="2" align="left">
<tr><script src="alliancexml.php"></script>
</tr></table>
----
I've tried changing the table width from 10%-30% with no luck ..

here is my current template without the above code .. my goal is to call the alliancexml.php and have the results displayed in a table on the left hand side of every page ..

-----
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>
Dragon Maw
</title>
<!-- Begin ParaChat Button-->
<form>
<input type="image" src="http://freepop.parachat.com/images/pc_button_logo.gif" border="0" onClick="window.open('http://freepop.parachat.com/freepop/freechathost.html?room=Dragon_Maw', 'parachat', 'width=600,height=490,location=no,menubar=no')" >
</form>
<!-- End ParaChat Button-->
<style type="text/css">
<!--
A:link        {text-decoration: none; color: 800000;}
A:visited     {text-decoration: none; color: 800000;}
A:hover       {text-decoration: none; color: 000000; font-style: normal; text-decoration: underline}}
BODY          {font-family: Verdana, Arial, helvetica;font-size: 10px}
.windowbg     {background-color: FFFFE4;font-size: 12px; font-family: Verdana, Arial, helvetica;}
.windowbg2    {background-color: F5F3E4;font-size: 12px; font-family: Verdana, Arial, helvetica;}
.windowbg3    {background-color: FFFFFF;font-size: 12px; font-family: Verdana, Arial, helvetica;}
.titlebg      {background-color: D5D1B3;}
.text1        {font-style: normal; font-weight: bold; font-size: 10px; color: 000000;}
.catbg        {background-color: F5F3E4; color: 000000; font-weight: bold; font-size: 10px;}
.bordercolor  {background-color: bordr;}
.quote        {font-size: 11px; font-family: Arial; color: 000000; background-color: catbg;}
.code         {font-size: 11px; font-family: Courier New; color: 000000; background-color: D5D1B3;}
TD            {font-family: Verdana, Arial, helvetica; color: 000000}
input         {background-color: FFFFFF; font-family: Verdana, Arial, helvetica; font-size: 10px; color: 000000;}
textarea      {background-color: FFFFFF; font-family: Verdana, Arial, helvetica; font-size: 10px; color: 000000;}
select        {background-color: FFFFFF; font-family: Verdana, Arial, helvetica; font-size: 10px; color: 000000;}
-->
</style>
</head>
<body  text="000000" bgcolor="F5F3E4">
<!--#echo banner=""-->
<table width="90%" cellspacing="1" cellpadding="2" border="0" align="CENTER" bgcolor="800080">
  <tr bgcolor="F5F3E4">
    <td>
    <table border="0" width="100%" cellpadding="1" cellspacing="0">
      <tr>
        <td valign="middle" align="LEFT">
        <yabb title>
        </td>
        <td>
        <font size="2" color="000000">
        <yabb uname> <yabb im>
        <BR><yabb time>
        </font><BR><BR>
        </td>
      </tr>
    </table>
    </td>
  </tr><tr align="center" valign="middle" bgcolor="FFFFE4" >
    <td><font size="2">
        <yabb menu>
  </tr>
</table>
<table width="90%" cellspacing="0" cellpadding="2" align="center">
<yabb main>
</table>
    </font></td>
  </tr><tr>
    <td align="CENTER" valign="BOTTOM">
    <font face="Verdana, Arial, helvetica" size="2"><BR><BR>
    <yabb copyright>.
    <BR><BR>
    </font>
    </td>
  </tr>
</table>
</body>
</html>
Logged
New Guy
Noobie
*
Posts: 5


I'm a llama!

Re:Help .. how to modify template to allow sidebar
« Reply #2 on: October 01, 2002, 04:51:47 PM »
Reply with quote

Here you go, try this. It's about as simple as I can make it. You should be able to build off of this.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>
Dragon Maw
</title>
<!-- Begin ParaChat Button-->
<form>
<input type="image" src="http://freepop.parachat.com/images/pc_button_logo.gif" border="0" onClick="window.open('http://freepop.parachat.com/freepop/freechathost.html?room=Dragon_Maw', 'parachat', 'width=600,height=490,location=no,menubar=no')" >
</form>
<!-- End ParaChat Button-->
<style type="text/css">
<!--
A:link {text-decoration: none; color: 800000;}
A:visited {text-decoration: none; color: 800000;}
A:hover {text-decoration: none; color: 000000; font-style: normal; text-decoration: underline}}
BODY {font-family: Verdana, Arial, helvetica;font-size: 10px}
.windowbg {background-color: FFFFE4;font-size: 12px; font-family: Verdana, Arial, helvetica;}
.windowbg2 {background-color: F5F3E4;font-size: 12px; font-family: Verdana, Arial, helvetica;}
.windowbg3 {background-color: FFFFFF;font-size: 12px; font-family: Verdana, Arial, helvetica;}
.titlebg {background-color: D5D1B3;}
.text1 {font-style: normal; font-weight: bold; font-size: 10px; color: 000000;}
.catbg {background-color: F5F3E4; color: 000000; font-weight: bold; font-size: 10px;}
.bordercolor {background-color: bordr;}
.quote {font-size: 11px; font-family: Arial; color: 000000; background-color: catbg;}
.code {font-size: 11px; font-family: Courier New; color: 000000; background-color: D5D1B3;}
TD {font-family: Verdana, Arial, helvetica; color: 000000}
input {background-color: FFFFFF; font-family: Verdana, Arial, helvetica; font-size: 10px; color: 000000;}
textarea {background-color: FFFFFF; font-family: Verdana, Arial, helvetica; font-size: 10px; color: 000000;}
select {background-color: FFFFFF; font-family: Verdana, Arial, helvetica; font-size: 10px; color: 000000;}
-->
</style>
</head>
<body text="000000" bgcolor="F5F3E4">
<!--#echo banner=""-->

<!--  Top table, displays title, welcome and date -->
<table border="0" width="100%" cellpadding="1" cellspacing="0" class="windowbg">
 <tr>
  <td valign="bottom">
   <font size="2" color="000000">
   <yabb title>
   </font>
  </td><td align="right">
   <font size="2" color="000000">
   <yabb uname> <yabb im><br>
   Today is <yabb time>
   </font>
  </td>
 </tr>
</table>

<!-- Main table, displays menu and yabb main -->
<table border="0" width="100%" cellpadding="1" cellspacing="0">
 <tr>
  <td valign="top" width="20%">
   <font size="2" color="000000">
   <br><br>
   Anything you want in the side menu would go here.
   </font><BR><BR>
   <font size="2">
  </td>
  <td valign="top" width="80%">
   <yabb menu>
   <yabb main>
  </td>
 </tr>
</table>

<center>
<font face="Verdana, Arial, helvetica" size="2"><BR><BR>
<yabb copyright>.
</center>
<BR><BR>
</body>
</html>
Logged
New Guy
Noobie
*
Posts: 5


I'm a llama!

Re:Help .. how to modify template to allow sidebar
« Reply #3 on: October 02, 2002, 05:43:51 PM »
Reply with quote

You're welcome. :(
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Graphics and Templates  |  Help .. how to modify template to allow sidebar « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.031 seconds with 18 queries.