Its Back Up.SbT wrote:dito ...mukundis wrote: No Tables Nothing. Just DIV DIV And Pure DIVS. God I hate Tables.![]()
Thats what I'm looking for ... yesterday I had no time to try it myself - Thank you.
I will check this soon and give a feedback.
Your Page is down
Best Regards,
SbT
First Question -mej284 wrote:Couple of questions where you call to <!-- INCLUDE sidebar.html --> should that not be <!-- INCLUDE overall_sidebar.html -->?mukundis wrote:I have a better tute.
DEMO
http://iluvdesi.com
Let me know my mistakes and any help u want.
Second Question: If I am trying to do three columns would this be the page-body code?Last Question: You put the above code in the footer so it will show on every page. If I just want it to show on the index_body page I would move the div's to that html and would the code that was to be placed in the common.css be the same.Code: Select all
#page-body { width:60%; float:auto
I made a typing mistake. i made a sidebar.html instead of overall-sidebar.htmlcarita wrote:I haven't been able to get it working. I am not using a prosilver theme. Once I got a message that the file doesn't exist or is empty
Code: Select all
#page-body {
float:left;
margin:4px 0pt;
width:81%;
}
GoleyC wrote:Does this section above go with the #page-body so you have thise:mukundis wrote:I have a better tute.
Go to Administration Panel -> Styles -> Theme and click on Edit
FindFor Displaying Sidebar on Right Add afterCode: Select all
#page-body {
Code: Select all
width:85%; float:Right
I'm really confused as to the find/add sequence.Code: Select all
#page-body { margin: 4px 0; clear: both; width:85%; float:Right; }
Code: Select all
<div class="forabg">
<div class="inner">
<span class="corners-top"><span></span></span>
<ul class="topiclist">
<li class="header"><dl><dt>Top Bar</dt></dl></li>
</ul>
<ul class="topiclist forums">
<li><dl>
<dd class="posts_portal">
</dd>
</dl></li>
</ul>
<span class="corners-bottom"><span></span></span>
</div>
</div>
Used this tutorial from reading another thread last night and turned it into using a left and right "sidebar"mukundis wrote:I have a better tute.
No Tables Nothing. Just DIV DIV And Pure DIVS. God I hate Tables.
Open template\overall_footer.htmlCode: Select all
First Create a sidebar.html file in the template directory and add whatever you want.
NOTE: The reason I am putting the code in overall_footer is that I wanted to load the sidebar after my forum is rendered. As I will be displaying advertisements on the sidebar, It only makes sense to load them after the forum gets loaded so that Adsense bot can understand better as to what it needs to display.
FindAdd BeforeCode: Select all
<div id="page-footer"> <div class="navbar">
Code: Select all
<div class="page-sidebar"> <!-- INCLUDE sidebar.html --> </div>
Save the file.
Go to Administration Panel -> Styles -> Theme and click on Edit
FindFor Displaying Sidebar on Left Add afterCode: Select all
#page-body {
Also Remove the Following line bellow #page-bodyCode: Select all
width:85%; float:left
Code: Select all
float:auto
NOTE #page-body should look like thisGo To The Last line and add AfterCode: Select all
#page-body { float:left; margin:4px 0pt; width:81%; }
Code: Select all
.page-sidebar { float:right; margin-top:4px; width:14%; }
For Displaying Sidebar on Right Add afterGo To The Last line and add AfterCode: Select all
width:85%; float:Right
Code: Select all
.page-sidebar { float:left; margin-top:4px; width:14%; }
U can Play With the width to adjust the size and all. Just change the percentage.
I mean instead of 85% you can make it 80% or something.
DEMO
http://iluvdesi.com
Let me know my mistakes and any help u want.
Edit I made some typos. Corrected it. it Should Work now
Code: Select all
<div class="page-leftnav">
<!-- INCLUDE overall_leftnav.html -->
</div>
Code: Select all
<div class="page-rightnav">
<!-- INCLUDE overall_rightnav.html -->
</div>
Code: Select all
width:85%;
float:Right
Code: Select all
.page-leftnav {
float:left;
margin-top:4px;
width:14%;
}
Code: Select all
width:85%;
float:Right
Code: Select all
.page-rightnav {
float:left;
margin-top:4px;
width:14%;
}
Glenn I wrote:Firefox displays the left nav bar where I want it but IE7 floats it to the bottom. Can't figure out why it's doing this. If someone wants I can PM them the site etc...
Hi,rspowers wrote:Here is the code I used to put a sidebar on the right hand side and it was really easy:
In overall_header.html:
after <body>:
Code: Select all
<div style="min-width: 900px;"> <div style="float: left; width: 85%; height: 100%;">
In Overall_footer.html:
Before </body>
Here is what it looks like: http://www.delmarvasurf.com/phpBB3/Code: Select all
</div> <div style="float: left; width: 14%; height: 100%; min-width: 135px;"> <a href="../contact.php"><img src="image.jpg"/></a> </div> </div>
I found I liked this sidebar better than the one described above and its easier, but its a matter or preference. They both work fine.