Post by matthew on Dec 10, 2005 10:17:10 GMT -5
You can also use codes to modify the look of the forum. I use this code (in the headers) to center the banner, remove the welcome message, and <home>, in the logo table.
<script language=javascript>
<!--
var PMLogoCell = document.getElementsByTagName("TD")[1]; PMLogoCell.removeChild(PMLogoCell.lastChild)
document.getElementsByTagName('tr')[1].deleteCell(1);
-->
</script>
And I use this code to change the width of the forum, which goes in the footers
<script language="JavaScript">
var boardwidth = document.getElementsByTagName('TABLE');
for(i=0;i<boardwidth.length;i++) {
if(boardwidth.width=="92%"){
boardwidth.width='695 px';}}
</script>
you change the part in red to change the forum width.
I also use some css to change the style of the forum.
I use this for the scroll bar (only works in I.E and Opera )
<style type="text/css">
<!--
body
{
scrollbar-arrow-color: #Colour Code Here;
scrollbar-track-color:#Colour Code Here;
scrollbar-3dlight-color:#Colour Code Here;
scrollbar-highlight-color:#Colour Code Here;
scrollbar-face-color:#Colour Code Here;
scrollbar-darkshadow-color:#Colour Code Here;
scrollbar-shadow-color:#Colour Code Here;
}
-->
</style>
These I use for the Menu, Title, Category, and News Title. gradients/images.
<style type="text/css">
<!--
.newstitlebg
{
background-image: url(TITLE_NEWS_MENU IMAGE URL HERE);
background-repeat: repeat;
}
.titlebg
{
background-image: url(TITLE_NEWS_MENU IMAGE URL HERE);
background-repeat: repeat;
}
.catbg
{
background-image: url(CAT IMAGE URL GOES HERE);
background-repeat: repeat;
}
.menubg
{
background-image: url(TITLE_NEWS_MENU IMAGE URL HERE);
background-repeat: repeat;
}
-->
</style>
And I use this to center my background images because i use vertical borders alot
<style type="text/css">
<!--
background-position:center top;
background-repeat:repeat-y;
-->
</style>
<script language=javascript>
<!--
var PMLogoCell = document.getElementsByTagName("TD")[1]; PMLogoCell.removeChild(PMLogoCell.lastChild)
document.getElementsByTagName('tr')[1].deleteCell(1);
-->
</script>
And I use this code to change the width of the forum, which goes in the footers
<script language="JavaScript">
var boardwidth = document.getElementsByTagName('TABLE');
for(i=0;i<boardwidth.length;i++) {
if(boardwidth.width=="92%"){
boardwidth.width='695 px';}}
</script>
you change the part in red to change the forum width.
I also use some css to change the style of the forum.
I use this for the scroll bar (only works in I.E and Opera )
<style type="text/css">
<!--
body
{
scrollbar-arrow-color: #Colour Code Here;
scrollbar-track-color:#Colour Code Here;
scrollbar-3dlight-color:#Colour Code Here;
scrollbar-highlight-color:#Colour Code Here;
scrollbar-face-color:#Colour Code Here;
scrollbar-darkshadow-color:#Colour Code Here;
scrollbar-shadow-color:#Colour Code Here;
}
-->
</style>
These I use for the Menu, Title, Category, and News Title. gradients/images.
<style type="text/css">
<!--
.newstitlebg
{
background-image: url(TITLE_NEWS_MENU IMAGE URL HERE);
background-repeat: repeat;
}
.titlebg
{
background-image: url(TITLE_NEWS_MENU IMAGE URL HERE);
background-repeat: repeat;
}
.catbg
{
background-image: url(CAT IMAGE URL GOES HERE);
background-repeat: repeat;
}
.menubg
{
background-image: url(TITLE_NEWS_MENU IMAGE URL HERE);
background-repeat: repeat;
}
-->
</style>
And I use this to center my background images because i use vertical borders alot
<style type="text/css">
<!--
background-position:center top;
background-repeat:repeat-y;
-->
</style>