php forum
php mysql forum
php mysql smarty
 
Topic Options
#13431 - 11/03/04 07:08 PM Stylesheet modification
orvie Offline
Junior Member

Registered: 11/03/04
Posts: 2
I am in the process of reconfiguring my classic pages and have successfully created a left sidebar using the following code

<!-- start header-->
<div align="center">
<TABLE align=left border=0 cellPadding=4 width="100%" bgcolor="#FFFFFF">
<TBODY>
<TR vAlign=top>
<TD bgColor=#FFFFFF width=115 align="center">







Left sidebar entry goes here








<table border="0" width="100%">
<tr>
<td width="100%">


<p align="center">

</td>
</tr>
</table>

<!-- Start of the menu -->
<font color="#000000" face="Arial" size="2">
</font></TD>
<TD bgColor=#FFFFFF width="100%" align="left">
<!-- end header -->

I would like to be able to place a second sidebar on the right and have my bb in the center, can any one help me with the code?

Thanks

Top
#13432 - 11/04/04 01:25 AM Re: Stylesheet modification
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Easy enough:
Header:
Code:
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="SideBars">
  <tr>
    <td width="15%">
      <table border="0" cellpadding="0" cellspacing="0" width="95%" align="center" id="Left Sidebar">
        <tr>
          <td width="100%">Left Sidebar</td>
        </tr>
      </table>
    </td>
    <td width="70%">

Footer:
Code:
</td>
    <td width="15%">
      <table border="0" cellpadding="0" cellspacing="0" width="95%" align="center" id="Right Sidebar">
        <tr>
          <td width="100%">Right Sidebar</td>
        </tr>
      </table>
    </td>
  </tr>
</table>

When loaded it'll load as:
Code:
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="SideBars">
  <tr>
    <td width="15%">
      <table border="0" cellpadding="0" cellspacing="0" width="95%" align="center" id="Left Sidebar">
        <tr>
          <td width="100%">Left Sidebar</td>
        </tr>
      </table>
    </td>
    <td width="70%">Board Content</td>
    <td width="15%">
      <table border="0" cellpadding="0" cellspacing="0" width="95%" align="center" id="Right Sidebar">
        <tr>
          <td width="100%">Right Sidebar</td>
        </tr>
      </table>
    </td>
  </tr>
</table>

_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#13433 - 11/04/04 10:04 AM Re: Stylesheet modification
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Good code and thanks for the xhtml-ing thumbsup
_________________________
- Allen wavey
- What Drives You?

Top
#13434 - 11/04/04 10:28 AM Re: Stylesheet modification
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Welcome and welcome wink ... I just found out that the "p" tag isn't xhtml appropirate so I've been doing a lot of recoding lately lol...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#13435 - 11/04/04 11:29 AM Re: Stylesheet modification
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
the P tag is xhtml appropriate if used to designate paragraphs, just not to create line-breaks

Top
#13436 - 11/04/04 11:59 AM Re: Stylesheet modification
orvie Offline
Junior Member

Registered: 11/03/04
Posts: 2
Fast response, thank you very much for your help. It is much appreciated.

Top
#13437 - 11/04/04 03:32 PM Re: Stylesheet modification
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Quote:
Originally posted by Ian Spence:</font><hr />
the P tag is xhtml appropriate if used to designate paragraphs, just not to create line-breaks
<hr /></blockquote>

Tell Microsoft that :x... FrontPage XP seems to think that the "p" tag is appropriate for line breaks and that br doens't need a closing tag wink ...

<blockquote><font class="small">Originally posted by orvie:
[qb]
Fast response, thank you very much for your help. It is much appreciated.
[/qb]


Not a problem, let me know should you need any further HTML questions.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top



Moderator:  Gizmo 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks