UBB.Dev
Posted By: orvie Stylesheet modification - 11/04/2004 3:08 AM
I am in the process of reconfiguring my classic pages and have successfully created a left sidebar using the following code















Left sidebar entry goes here
























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
Posted By: Gizmo Re: Stylesheet modification - 11/04/2004 9:25 AM
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>
Posted By: AllenAyres Re: Stylesheet modification - 11/04/2004 6:04 PM
Good code and thanks for the xhtml-ing thumbsup
Posted By: Gizmo Re: Stylesheet modification - 11/04/2004 6:28 PM
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...
Posted By: Ian Spence Re: Stylesheet modification - 11/04/2004 7:29 PM
the P tag is xhtml appropriate if used to designate paragraphs, just not to create line-breaks
Posted By: orvie Re: Stylesheet modification - 11/04/2004 7:59 PM
Fast response, thank you very much for your help. It is much appreciated.
Posted By: Gizmo Re: Stylesheet modification - 11/04/2004 11:32 PM
Quote
Originally posted by Ian Spence:

the P tag is xhtml appropriate if used to designate paragraphs, just not to create line-breaks



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 ...

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.