View Full Version: [S] Extremely Messed Up Main Page !

RPG-Directory > Solved Support Topics > [S] Extremely Messed Up Main Page !



Title: [S] Extremely Messed Up Main Page !


xxGlitterhorse - February 20, 2008 10:57 PM (GMT)
    okay, so the main page on our site is totally messed up. you see, the sidebar keeps moving, so it looks all whack with the alignment.
    at first, i tried to fix it with putting the actual code under the BOARD HEADER where it's supposed to go, but then it got all thin and still looked terrible. none of the admins really know what's wrong, and we're all utterly confused.

    help please?

    here's the site link, so it's easier to understand: click

ShinLi - February 20, 2008 10:58 PM (GMT)
Can you post your header/body and footer codes? Maybe we can point out immediatly how to fix it for the people who are good with codes.

xxGlitterhorse - February 20, 2008 11:02 PM (GMT)
    oh, yeah, course.

    HEADER .

CODE
<body bgcolor='#FFFFFF' leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" alink='#000000' vlink='#000000'>

<% BOARD HEADER %>
<% NAVIGATION %>
<% BOARD %>

<script type="text/javascript" language="javascript">
<!--
e = document.getElementsByTagName('DIV')
dv = []
i = 0
for (n = 0; n < e.length; n++) if (e[n].className == 'maintitle' && e[n].parentNode.id != 'ucpmenu') dv[i++] = e[n]
for (n = 0; n < i; n++) {
s = dv[n].innerHTML
dv[n].innerHTML = "<div class='maintitleleft'><div class='maintitleright'><div class='maintitlecontent'>" +                
// -->
s + '</div></div></div></div>'
}

</script>


<script type='text/javascript'>
<!--
// add colors to dropdown at post page
// created by ticlo, http://ifsz.net/
n = 0
addColors = new Array()

// add colors here
addColors[n++] = 'Antiquewhite'
addColors[n++] = 'Aqua'
addColors[n++] = 'Aquamarine'
addColors[n++] = 'Azure'
addColors[n++] = 'Beige'
addColors[n++] = 'Bisque'
addColors[n++] = 'Black'
addColors[n++] = 'Blanchedalmond'
addColors[n++] = 'Blueviolet'
addColors[n++] = 'Brown'
addColors[n++] = 'Burlywood'
addColors[n++] = 'Cadetblue'
addColors[n++] = 'Chartreuse'
addColors[n++] = 'Chocolate'
addColors[n++] = 'Coral'
addColors[n++] = 'Cornflowerblue'
addColors[n++] = 'Cornsilk'
addColors[n++] = 'Crimson'
addColors[n++] = 'Cyan'
addColors[n++] = 'Darkblue'
addColors[n++] = 'Darkcyan'
addColors[n++] = 'Darkgoldenrod'
addColors[n++] = 'Darkgray'
addColors[n++] = 'Darkgreen'
addColors[n++] = 'Darkkhaki'
addColors[n++] = 'Darkmagenta'
addColors[n++] = 'Darkolivegreen'
addColors[n++] = 'Darkorange'
addColors[n++] = 'Darkorchid'
addColors[n++] = 'Darkred'
addColors[n++] = 'Darksalmon'
addColors[n++] = 'Darkseagreen'
addColors[n++] = 'Darkslateblue'
addColors[n++] = 'Darkslategray'
addColors[n++] = 'Darkturquoise'
addColors[n++] = 'Darkviolet'
addColors[n++] = 'Deeppink'
addColors[n++] = 'Deepskyblue'
addColors[n++] = 'Dimgray'
addColors[n++] = 'Dodgerblue'
addColors[n++] = 'Firebrick'
addColors[n++] = 'Floralwhite'
addColors[n++] = 'Forestgreen'
addColors[n++] = 'Fuchsia'
addColors[n++] = 'Gainsboro'
addColors[n++] = 'Ghostwhite'
addColors[n++] = 'Gold'
addColors[n++] = 'Goldenrod'
addColors[n++] = 'Gray'
addColors[n++] = 'Green'
addColors[n++] = 'Greenyellow'
addColors[n++] = 'Honeydew'
addColors[n++] = 'Hotpink'
addColors[n++] = 'Indianred'
addColors[n++] = 'Indigo'
addColors[n++] = 'Ivory'
addColors[n++] = 'Khaki'
addColors[n++] = 'Lavender'
addColors[n++] = 'Lavenderblush'
addColors[n++] = 'Lawngreen'
addColors[n++] = 'Lemonchiffon'
addColors[n++] = 'Lightblue'
addColors[n++] = 'Lightcoral'
addColors[n++] = 'Lightcyan'
addColors[n++] = 'Lightgoldenrodyellow'
addColors[n++] = 'Lightgreen'
addColors[n++] = 'Lightgrey'
addColors[n++] = 'Lightpink'
addColors[n++] = 'Lightsalmon'
addColors[n++] = 'Lightseagreen'
addColors[n++] = 'Lightskyblue'
addColors[n++] = 'Lightslategray'
addColors[n++] = 'Lightsteelblue'
addColors[n++] = 'Magenta'
addColors[n++] = 'Maroon'
addColors[n++] = 'Mediumaquamarine'
addColors[n++] = 'Mediumblue'
addColors[n++] = 'Mediumorchid'
addColors[n++] = 'Mediumpurple'
addColors[n++] = 'Mediumseagreen'
addColors[n++] = 'Mediumslateblue'
addColors[n++] = 'Mediumspringgreen'
addColors[n++] = 'Mediumturquoise'
addColors[n++] = 'Mediumvioletred'
addColors[n++] = 'Midnightblue'
addColors[n++] = 'Mintcream'
addColors[n++] = 'Mistyrose'
addColors[n++] = 'Moccasin'
addColors[n++] = 'Navajowhite'
addColors[n++] = 'Navy'
addColors[n++] = 'Oldlace'
addColors[n++] = 'Olive'
addColors[n++] = 'Olivedrab'
addColors[n++] = 'Orange'
addColors[n++] = 'Orangered'
addColors[n++] = 'Orchid'
addColors[n++] = 'Palegoldenrod'
addColors[n++] = 'Palegreen'
addColors[n++] = 'Paleturquoise'
addColors[n++] = 'Palevioletred'
addColors[n++] = 'Papayawhip'
addColors[n++] = 'Peachpuff'
addColors[n++] = 'Peru'
addColors[n++] = 'Pink'
addColors[n++] = 'Plum'
addColors[n++] = 'Powderblue'
addColors[n++] = 'Rosybrown'
addColors[n++] = 'Royalblue'
addColors[n++] = 'Saddlebrown'
addColors[n++] = 'Salmon'
addColors[n++] = 'Sandybrown'
addColors[n++] = 'Seagreen'
addColors[n++] = 'Seashell'
addColors[n++] = 'Sienna'
addColors[n++] = 'Silver'
addColors[n++] = 'Skyblue'
addColors[n++] = 'Slateblue'
addColors[n++] = 'Slategray'
addColors[n++] = 'Snow'
addColors[n++] = 'Springgreen'
addColors[n++] = 'Steelblue'
addColors[n++] = 'Tan'
addColors[n++] = 'Teal'
addColors[n++] = 'Thistle'
addColors[n++] = 'Tomato'
addColors[n++] = 'Turquoise'
addColors[n++] = 'Violet'
addColors[n++] = 'Wheat'
addColors[n++] = 'White'
addColors[n++] = 'Whitesmoke'
addColors[n++] = 'Yellow'
addColors[n++] = 'Yellowgreen'

if (document.forms['REPLIER'] && document.forms['REPLIER'].fcolor) {
e = document.REPLIER.fcolor.options
for (n = 0; n < addColors.length; n++) {
no = e[e.length] = new Option(addColors[n], addColors[n])
no.style.color = addColors[n]
}}
// -->
</script>

<script type='text/javascript'>
<!--
// add fonts to dropdown at post page
// created by ticlo, http://ifsz.net/
n = 0
addFonts = new Array()

// add fonts here
addFonts[n++] = 'Comic Sans MS'
addFonts[n++] = 'Trebuchet MS'
addFonts[n++] = 'Georgia'

if (document.forms['REPLIER'] && document.forms['REPLIER'].fcolor) {
e = document.REPLIER.ffont.options
for (n = 0; n < addFonts.length; n++) {
no = e[e.length] = new Option(addFonts[n], addFonts[n])
no.style.fontFamily= '"' + addFonts[n] + '"'
}}
// -->
</script>



<% STATS %>


FOOTER .

CODE
<br><br><b>revolution</b> skinned by Lea (iloveyou.) of <a href="http://forums.redcarpetrebellion.net/">Red Carpet & Rebellion</a> and <a href="http://skinit.ipbfree.com">skin_it</a>.

ShinLi - February 20, 2008 11:17 PM (GMT)
Where is the sidebar code? I can't find it in the coding you provided me.

xxGlitterhorse - February 20, 2008 11:26 PM (GMT)
    ohmyoranges! i accidentally cut it off. sorry! *smacks head*



CODE
<center><table cellpadding="0" cellspacing="0" width="728" bgcolor="#444444" style="border: #999999 4px solid;" >
<tr>
<td></td><td width="100%"/></td></tr>
<tr>
<td/></td><td border="0px" style="padding: 20px; padding-right: 29px;">


<div class='maintitle'>

<center>heartbreak and pain</div>

<DIV class="tablepad"><span class='desc'>
<br>
<font face="georgia"><font size="2">welcome to <b>( i told another lie today )!</b> please register with a <b>first, middle, and last name in all lower caps.</b> set at a institution heart set on restoring hope, <b>flowers of hope</b> is aimed to all different types of clinically ill people.
<br>
<br>
all it takes to join? <b>fill out a very basic application, get accepted[=, and join in on the fun!</b> <i>love, your faithful admins.</i></font></font>

</span></div></div>
<br /></center>

<center><div class="maintitle">
sexy staff</div>

<div class="tablepad"><span class='desc' >

list admins.

</span></div><p>

</div></center>

<center><div class='maintitle'>


the locale</div>
<div class="tablepad"><span class='desc' >
<p>
<list><font face="georgia"><font size="2"><b>where?</b> windsor, massachusetts<br>
<b>specifically:</b> flowers of hope<br>
<b>date:</b> march, spring<br>
<B>year:</b> 2008<br>
<b>weather:</b> sunny, warm</font></font></list>

</span></div><p>

</div></center>

<br><center>
<div class='maintitle'>
talk it out </div>

<div class='tablepad'><span class='desc'>
<!-- BEGIN CBOX - www.cbox.ws -->
<div align="center" id="cboxdiv">
<iframe frameborder="0" width="160" height="297" src="http://www3.cbox.ws/box/?boxid=2879894&amp;boxtag=9hwhfj&amp;sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#FFFFFF 1px solid;" id="cboxmain"></iframe><br/>
<iframe frameborder="0" width="160" height="83" src="http://www3.cbox.ws/box/?boxid=2879894&amp;boxtag=9hwhfj&amp;sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#FFFFFF 1px solid;border-top:0px" id="cboxform"></iframe>
</div>
<!-- END CBOX -->

</span></div>
</div>
<br /></center>
</div>

<center>
<div class='maintitle'>

great improvements on imperfect</div>

<div class="tablepad"><span class='desc'>
<Br>
fave hidden romance`
<br>
<img src="http://img246.imageshack.us/img246/8404/pb12fb2.png"><br>
<font face="georgia"><color=black>undecided</font></color><br>
<br>
fave friendship`<Br>
<img src="http://img98.imageshack.us/img98/5092/mt20108xt4.png"><br>
undecided.



<br>
</span></div>
</div>
<br /></center>




<div class='maintitle'>
<align=center>credits </div>
<div class="tablepad"><span class='desc' >
<font face="georgia"><font size="2">credits go out to the admins of this site and the creaters of all things located on this site. you steal, we kill.[=</font></font>

</span></div>
</div>
<br /></center>
<br />
</div>
</div>
</div>
<br />
</div>

<img src='http://209.85.48.8/style_images/1/spacer.gif' alt='' width='190' height='1' />
</td>
<!--SPACER-->
<td width="5" class='0'>&nbsp;</td>
<td width="90%" class='0' valign="top">



<body bgcolor='#FFFFFF' leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" alink='#000000' vlink='#000000'>

<% BOARD HEADER %>
<% NAVIGATION %>
<% BOARD %>

<script type="text/javascript" language="javascript">
<!--
e = document.getElementsByTagName('DIV')
dv = []
i = 0
for (n = 0; n < e.length; n++) if (e[n].className == 'maintitle' && e[n].parentNode.id != 'ucpmenu') dv[i++] = e[n]
for (n = 0; n < i; n++) {
s = dv[n].innerHTML
dv[n].innerHTML = "<div class='maintitleleft'><div class='maintitleright'><div class='maintitlecontent'>" +                
// -->
s + '</div></div></div></div>'
}

</script>


<script type='text/javascript'>
<!--
// add colors to dropdown at post page
// created by ticlo, http://ifsz.net/
n = 0
addColors = new Array()

// add colors here
addColors[n++] = 'Antiquewhite'
addColors[n++] = 'Aqua'
addColors[n++] = 'Aquamarine'
addColors[n++] = 'Azure'
addColors[n++] = 'Beige'
addColors[n++] = 'Bisque'
addColors[n++] = 'Black'
addColors[n++] = 'Blanchedalmond'
addColors[n++] = 'Blueviolet'
addColors[n++] = 'Brown'
addColors[n++] = 'Burlywood'
addColors[n++] = 'Cadetblue'
addColors[n++] = 'Chartreuse'
addColors[n++] = 'Chocolate'
addColors[n++] = 'Coral'
addColors[n++] = 'Cornflowerblue'
addColors[n++] = 'Cornsilk'
addColors[n++] = 'Crimson'
addColors[n++] = 'Cyan'
addColors[n++] = 'Darkblue'
addColors[n++] = 'Darkcyan'
addColors[n++] = 'Darkgoldenrod'
addColors[n++] = 'Darkgray'
addColors[n++] = 'Darkgreen'
addColors[n++] = 'Darkkhaki'
addColors[n++] = 'Darkmagenta'
addColors[n++] = 'Darkolivegreen'
addColors[n++] = 'Darkorange'
addColors[n++] = 'Darkorchid'
addColors[n++] = 'Darkred'
addColors[n++] = 'Darksalmon'
addColors[n++] = 'Darkseagreen'
addColors[n++] = 'Darkslateblue'
addColors[n++] = 'Darkslategray'
addColors[n++] = 'Darkturquoise'
addColors[n++] = 'Darkviolet'
addColors[n++] = 'Deeppink'
addColors[n++] = 'Deepskyblue'
addColors[n++] = 'Dimgray'
addColors[n++] = 'Dodgerblue'
addColors[n++] = 'Firebrick'
addColors[n++] = 'Floralwhite'
addColors[n++] = 'Forestgreen'
addColors[n++] = 'Fuchsia'
addColors[n++] = 'Gainsboro'
addColors[n++] = 'Ghostwhite'
addColors[n++] = 'Gold'
addColors[n++] = 'Goldenrod'
addColors[n++] = 'Gray'
addColors[n++] = 'Green'
addColors[n++] = 'Greenyellow'
addColors[n++] = 'Honeydew'
addColors[n++] = 'Hotpink'
addColors[n++] = 'Indianred'
addColors[n++] = 'Indigo'
addColors[n++] = 'Ivory'
addColors[n++] = 'Khaki'
addColors[n++] = 'Lavender'
addColors[n++] = 'Lavenderblush'
addColors[n++] = 'Lawngreen'
addColors[n++] = 'Lemonchiffon'
addColors[n++] = 'Lightblue'
addColors[n++] = 'Lightcoral'
addColors[n++] = 'Lightcyan'
addColors[n++] = 'Lightgoldenrodyellow'
addColors[n++] = 'Lightgreen'
addColors[n++] = 'Lightgrey'
addColors[n++] = 'Lightpink'
addColors[n++] = 'Lightsalmon'
addColors[n++] = 'Lightseagreen'
addColors[n++] = 'Lightskyblue'
addColors[n++] = 'Lightslategray'
addColors[n++] = 'Lightsteelblue'
addColors[n++] = 'Magenta'
addColors[n++] = 'Maroon'
addColors[n++] = 'Mediumaquamarine'
addColors[n++] = 'Mediumblue'
addColors[n++] = 'Mediumorchid'
addColors[n++] = 'Mediumpurple'
addColors[n++] = 'Mediumseagreen'
addColors[n++] = 'Mediumslateblue'
addColors[n++] = 'Mediumspringgreen'
addColors[n++] = 'Mediumturquoise'
addColors[n++] = 'Mediumvioletred'
addColors[n++] = 'Midnightblue'
addColors[n++] = 'Mintcream'
addColors[n++] = 'Mistyrose'
addColors[n++] = 'Moccasin'
addColors[n++] = 'Navajowhite'
addColors[n++] = 'Navy'
addColors[n++] = 'Oldlace'
addColors[n++] = 'Olive'
addColors[n++] = 'Olivedrab'
addColors[n++] = 'Orange'
addColors[n++] = 'Orangered'
addColors[n++] = 'Orchid'
addColors[n++] = 'Palegoldenrod'
addColors[n++] = 'Palegreen'
addColors[n++] = 'Paleturquoise'
addColors[n++] = 'Palevioletred'
addColors[n++] = 'Papayawhip'
addColors[n++] = 'Peachpuff'
addColors[n++] = 'Peru'
addColors[n++] = 'Pink'
addColors[n++] = 'Plum'
addColors[n++] = 'Powderblue'
addColors[n++] = 'Rosybrown'
addColors[n++] = 'Royalblue'
addColors[n++] = 'Saddlebrown'
addColors[n++] = 'Salmon'
addColors[n++] = 'Sandybrown'
addColors[n++] = 'Seagreen'
addColors[n++] = 'Seashell'
addColors[n++] = 'Sienna'
addColors[n++] = 'Silver'
addColors[n++] = 'Skyblue'
addColors[n++] = 'Slateblue'
addColors[n++] = 'Slategray'
addColors[n++] = 'Snow'
addColors[n++] = 'Springgreen'
addColors[n++] = 'Steelblue'
addColors[n++] = 'Tan'
addColors[n++] = 'Teal'
addColors[n++] = 'Thistle'
addColors[n++] = 'Tomato'
addColors[n++] = 'Turquoise'
addColors[n++] = 'Violet'
addColors[n++] = 'Wheat'
addColors[n++] = 'White'
addColors[n++] = 'Whitesmoke'
addColors[n++] = 'Yellow'
addColors[n++] = 'Yellowgreen'

if (document.forms['REPLIER'] && document.forms['REPLIER'].fcolor) {
e = document.REPLIER.fcolor.options
for (n = 0; n < addColors.length; n++) {
no = e[e.length] = new Option(addColors[n], addColors[n])
no.style.color = addColors[n]
}}
// -->
</script>

<script type='text/javascript'>
<!--
// add fonts to dropdown at post page
// created by ticlo, http://ifsz.net/
n = 0
addFonts = new Array()

// add fonts here
addFonts[n++] = 'Comic Sans MS'
addFonts[n++] = 'Trebuchet MS'
addFonts[n++] = 'Georgia'

if (document.forms['REPLIER'] && document.forms['REPLIER'].fcolor) {
e = document.REPLIER.ffont.options
for (n = 0; n < addFonts.length; n++) {
no = e[e.length] = new Option(addFonts[n], addFonts[n])
no.style.fontFamily= '"' + addFonts[n] + '"'
}}
// -->
</script>



<% STATS %>

ShinLi - February 20, 2008 11:34 PM (GMT)
When I put that everything looks fine, did you add anything to the CSS?

Also try to remove the banner and see what happens then.

http://z15.invisionfree.com/shinlitest2

xxGlitterhorse - February 20, 2008 11:41 PM (GMT)
    uhm, no i don't think so. but, i didn't put up the sidebar, another admin did.

    i tried to remove the banner, and it stayed wrongly aligned.

    EDiT: and i didn't put up the CSS, either. :\

Roswenth - February 20, 2008 11:50 PM (GMT)
I believe that is Nicola's sidebar.

xxGlitterhorse - February 20, 2008 11:52 PM (GMT)
    does that mean i should switch it to the one from this site, Roswenth?

Roswenth - February 20, 2008 11:56 PM (GMT)
Not necessarily, I was mostly responding to ShinLi. The reason I put my copyright in our code is so people will come back here and ask for support on it. I made ours real simple mainly because a lot of the people who use is aren't that familiar with coding and they need something kind of "drag and drop". If your co-admin put in the code, maybe they can resolve the issue.

For one thing, your scripts in the header might be throwing off the code. Most scripts need to go at the end of the footers.

ShinLi - June 19, 2008 12:33 PM (GMT)
Your topic has been solved and moved to the 'Solved Support Topics' forum! Still have a question, or something isn't clear yet? Open up a new topic, but be sure to be more specific this time!




Hosted for free by InvisionFree