Footer and style messed up COMPLETELY

Umbreon

Paragon
Joined
Jul 22, 2009
Messages
1,551
Reaction score
2
FP$
1,032
Okay, so my footer isn't expecting as I want it to be. It keeps going everywhere around the page. Can someone fix this for me, the whole style is messed up now due to lack of my css knowledge.
Code:
/* BlackRainbow Stylesheet. Made by Ruko */



body {

    background-image: url('images/top.png');

    background-repeat:no-repeat;

    background-color: #000000;

    font: 11px "Lucida Sans Unicode", Arial, Verdana, sans-serif;

    color: white;

    height: 100%;

}



a:link {

    text-decoration:none;

    color: #00BACC;

}



a:visited {

    text-decoration:none;

    color: #00BACC;

}



a:hover {

    text-decoration:underline;

    color:cyan;

}



.wrap{

width: 994px;

margin-left: auto;

margin-right: auto;}



br {

    color: #0072FF;

}



h3 {

    color: #0072FF;

}



h4 {

    color: #00A9FF;

    border-bottom: 1px dotted #bfbfbf;

    zoom: 1;

}



#conTOP {

    background-image:url('images/contop.png');

    background-repeat: no-repeat;

    float: left;

    position:relative;

    width: 700px;

    height: 320px;

    top:170px;

}



#conBOT {

    background-image:url('images/conbot.png');

    background-repeat: no-repeat;

    float: left;

    left:0px

}

.navlist {

    background-image:url('images/navlist.png');

    background-repeat: no-repeat;

    float: right;

    position: relative;

    width: 250px;

    height: 600px;

    top:170px;

}



ul

{

list-style-type:none;

margin:0;

padding:0;

}



#content {

    position:relative;

    float: left;

    width: 660px;

    height: 320px;

    left:20px;

    top:30px;

}



.minfo {

    width: 600px;

    height: 35px;

    color: #9BB4FF;

}



.texta {

	background-color: #005577;

	border: 1px solid #0078A8;

	color: white;

	font: 11px "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;

}



.togglelink{

    color: cyan;

}



.playnowbtn{

    position:relative;

    left:40px;

}



#gametbl {

    	color: white;

        border-collapse: collapse;

	table-layout: fixed;

        border-style:solid;

        border-color:lightblue;

        border-width:1px;

        width: 100%;

        font: 11px "Lucida Sans Unicode", Arial, Verdana, sans-serif;

}

#gametr1 {

	font-weight: bold;

        border-style:solid;

        border-color:lightblue;

        border-width:1px;

	color: white;

}

.gametr2 TD {

	text-align: left;

	padding: 5px 5px;

	background: #007BD3;

}

.gametr3 TH {

        border-style:solid;

        border-color:lightblue;

        border-width:1px;

	background: #002e40;

	opacity: 0.7;

}

#gameth {

    border-style:solid;

    border-color:lightblue;

    border-width:1px;

    background: #7CE4FF;

}

#logoimg {

    background-image: url('http://flash-planet.co.cc/images/logo.png');

    position: absolute;

    left: 160px;

    top: 5px;

}

#categorytitle {text-transform:capitalize;}

ul#list-nav {
list-style:none;
margin:20px;
padding:0;
width:525px
}

ul#list-nav li {
display:inline
}

ul#list-nav li a {
text-decoration:none;
padding:5px 0;
width:80px;
font: 15px "Lucida Sans Unicode", Arial, Verdana, sans-serif;
color:#lightblue;
float:left;
text-align:center;
}
#navpos {
	position:absolute;
	left:485px;
	top:2px;
}
#footerbg {
	position:absolute;
	top: 234px;
	width: 1200px;
	height: 600px;
	background: transparent url(images/footer.png) no-repeat bottom center;
	z-index: 0;
	
}
#footertxt {
	position:relative;
	width: 100%;
	height: 100%;
	padding-top:25px;
	text-align: bottom center;
	visibility: hidden;
}
#footerTb {
	width: 775px;
	height: 62px;
	margin: 0px auto;
}
#footer {
	width: 100%;
	height: 60px;
	position: absolute;
	bottom: 0px;
}
.disclaimer {
	font-size: 9px;
	line-height: 11px;
	color: #4d4d4d;
	vertical-align: text-top;
}
#copyright {
	text-align: right;
}

Footer:
Code:
<div id="footerbg"> </div>
 <div id="footer"> 
 
            <table id="footerTb"> 
                <tr> 
                    <td colspan="2" id="links2"><p>Links: <a href="Tos.php">Terms of Service</a> | <a href="PrivacyPolicy.php">Privacy Policy</a> | <a href="Disclaimer.php">Disclaimer</a> | <a href="Report.php">Report Errors</a> | <a href="ContactUs.php">Contact Us</a></p></td> 
                </tr> 
                <tr> 
                    <td class="disclaimer">Disclaimer: All the gaming content and flash belongs to their respective company or owner</td> 
 
                    <td class="disclaimer" id="copyright">Copyright 2010 Flash Planet</td> 
                </tr> 
            </table> 
        </div> 
    </div>
 
A preview of your style would be very helpful so I can see whats wrong.

Cheers!
 
Can you put it back up please? Because even if it is broken it still helps having it up so we can assist you.
 
A bit off topic, but don't forget to put border="0" on the img src on the play now button.
 
Suggestion: When they put in a wrong game id, put the error message in the red box that you have up there when the site is done.
 
Alright then. That red box is also used to announce maintainence time. Im currently creating another box for the errors.
 
Because as of now, it's at the top of the page. I think that's the styles fault. Do you have an index.php drafted yet or is it still the text?
 
Did you modify anything before the skin messed up, or was it messed up since the beginning?
 
Well after I added the footer CSS code, the footer goes out of place. I tried everything and I know its something to do with the style.
 
Why do you have an absolute? Maybe you should learn what those properties do to the DIV. What your doing with that absolute property is moving it outside the .wrap DIV. Try get rid of those, if you want to MOVE it inside the DIV work with the margin and padding properties. Also, get ride of all the other position types, relative and such.

I didn't look through your whole code, but you can take a look at some of my sites in my footer and learn how I don't use much position stuff unless I want a DIV overlayed on top of stuff (which is exactly what the position properties are used for) not to move the div around.
 
Okay, probably I need someone to redevelop my CSS, because I don't have good knowledge of CSS and I have no idea how to use them (all I care about is the content, not its coding)

If someone can figure this out for me, then I will give you rep 2

I modified the code a bit:
Code:
/* BlackRainbow Stylesheet. Made by Ruko */



body {

    background-image: url('images/top.png');

    background-repeat:no-repeat;

    background-color: #000000;

    font: 11px "Lucida Sans Unicode", Arial, Verdana, sans-serif;

    color: white;

    height: 100%;

}



a:link {

    text-decoration:none;

    color: #00BACC;

}



a:visited {

    text-decoration:none;

    color: #00BACC;

}



a:hover {

    text-decoration:underline;

    color:cyan;

}



.wrap{

width: 994px;

margin-left: auto;

margin-right: auto;}



br {

    color: #0072FF;

}



h3 {

    color: #0072FF;

}



h4 {

    color: #00A9FF;

    border-bottom: 1px dotted #bfbfbf;

    zoom: 1;

}



#conTOP {

    background-image:url('images/contop.png');

    background-repeat: no-repeat;

    float: left;

    position:relative;

    width: 700px;

    height: 320px;

    top:170px;

}



#conBOT {

    background-image:url('images/conbot.png');

    background-repeat: no-repeat;

    float: left;

    left:0px

}

.navlist {

    background-image:url('images/navlist.png');

    background-repeat: no-repeat;

    float: right;

    position: relative;

    width: 250px;

    height: 600px;

    top:170px;

}



ul

{

list-style-type:none;

margin:0;

padding:0;

}



#content {

    position:relative;

    float: left;

    width: 660px;

    height: 320px;

    left:20px;

    top:30px;

}

#bigcontent {

    background-image:url('images/bigcontent.png');

    background-repeat: no-repeat;

    float: left;

    position:relative;

    width: 820px;

    height: 320px;

    top:270px;

}

.minfo {

    width: 600px;

    height: 35px;

    color: #9BB4FF;

}



.texta {

	background-color: #005577;

	border: 1px solid #0078A8;

	color: white;

	font: 11px "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;

}



.togglelink{

    color: cyan;

}



.playnowbtn{

    position:relative;

    left:40px;

}



#gametbl {

    	color: white;

        border-collapse: collapse;

	table-layout: fixed;

        border-style:solid;

        border-color:lightblue;

        border-width:1px;

        width: 100%;

        font: 11px "Lucida Sans Unicode", Arial, Verdana, sans-serif;

}

#gametr1 {

	font-weight: bold;

        border-style:solid;

        border-color:lightblue;

        border-width:1px;

	color: white;

}

.gametr2 TD {

	text-align: left;

	padding: 5px 5px;

	background: #007BD3;

}

.gametr3 TH {

        border-style:solid;

        border-color:lightblue;

        border-width:1px;

	background: #002e40;

	opacity: 0.7;

}

#gameth {

    border-style:solid;

    border-color:lightblue;

    border-width:1px;

    background: #7CE4FF;

}

#logoimg {

    background-image: url('http://flash-planet.co.cc/images/logo.png');

    position: absolute;

    left: 160px;

    top: 5px;

}

#categorytitle {text-transform:capitalize;}

ul#list-nav {
list-style:none;
margin:20px;
padding:0;
width:525px
}

ul#list-nav li {
display:inline
}

ul#list-nav li a {
text-decoration:none;
padding:5px 0;
width:80px;
font: 15px "Lucida Sans Unicode", Arial, Verdana, sans-serif;
color:#lightblue;
float:left;
text-align:center;
}
#navpos {
	position:absolute;
	left:525px;
	top:20px;
}
#navborder {
	background-image:url(images/border.png);
}
#footerbg {
	position:absolute;
	top: 260px;
	left: -30px;
	width: 1200px;
	height: 600px;
	background: transparent url(images/footer.png) no-repeat bottom center;
	z-index: -1;
	
}
#footertxt {
	position:absolute;
	top: 730px;
	left: 80px;
	color:#333;
	z-index: -1;
}
#footertxt a{
	color:#006;
	z-index: -1;
}
#footerTb {
	width: 775px;
	height: 62px;
	margin: 0px auto;
}
#footer {
	width: 400px;
	height: 60px;
	position: absolute;
	top: 260px;
	bottom: 0px;
}
.disclaimer {
	font-size: 9px;
	line-height: 11px;
	color: #4d4d4d;
	vertical-align: text-top;
}
#copyright {
	text-align: right;
}
.gameinfo
{
width:320px;
padding:10px;
border:2px solid white;
margin:0px;
}
#jsddm
{	margin: 0;
	padding: 0}
	
	#jsddm li
	{	float: left;
		list-style: none;
	}

	#jsddm li a
	{   display:block;
		padding: 8px 12px;
		text-decoration: none;
		border-right: 1px solid white;
		border-left: 1px solid white;
		width: 70px;
		color: #EAFFED;
		white-space: nowrap
	}
		
		#jsddm li ul
		{	margin: 0;
			padding: 0;
			position: absolute;
			visibility: hidden;
		}
		
		#jsddm li ul li
		{	float: none;
			display: inline}
		
		#jsddm li ul li a
		{	width: auto;
			background: lightblue;}
		
		#jsddm li ul li a:hover
		{	background: blue;}
		
.announcement {
	background-image:url('images/announcementbox.png');
    background-repeat: no-repeat;
    float: left;
	color: #F00;
    position:relative;
    width: 475px;
    height: 65px;
	top:140px;
	left:70px;
}
#announcetxt {
	color: #900;
	position:relative;
	top: 5px;
	left: 13px;
}
#footerstick {
	width: 1000px;
	border: 0px solid;
	margin: 10px auto 10px auto;
}

New Footer:
Code:
<div id='footerbg'></div>
 
<div id="footertxt"><div id="footerstick">
<p>Links: <a href="Tos.php">Terms of Service</a> | <a href="PrivacyPolicy.php">Privacy Policy</a> | <a href="Disclaimer.php">Disclaimer</a> | <a href="Report.php">Report Errors</a> | <a href="ContactUs.php">Contact Us</a></p>
<p>DISCLAIMER: The games in the site belong to their owners</p>
<p>Copyright 2010 Flash Planet</p> </div></div>
 
HTML Errors:

Code:
<link rel="icon" type="image/png" href="images/favi.png" />

You probably wanted rel="shortcut icon" which is the icon for the favicon on the top. Those icons need to be of .ico format, they are easy to obtain search "favicon" on Google, one of the best sites is favicon.cc.

Another suggestion, always put meta tags BEFORE the title tag. That is just how I like it looking and is a standard way of doing it.

YOU MESSED UP BIG ON HTML!!! You NEEEDDDD a BODY TAG! >.<

Here, take this basic template for a BLANK page. Work from there.

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
</body>
</html>

I will ONLY do this once, and you owe me. Which means you can feel free to go on my forums and start posting questions and talking and stuff if you really want to help me out - http://www.gamingallnight.com/forums/

new_index.html
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="Think you can find a way to beat the worlds impossible quiz?" />
<meta name="keywords" content="Game, Fun, Flash, The Impossible Quiz" />
<meta name="author" content="Luigi R." />
<title>Now Playing - The Impossible Quiz</title>

<link rel="stylesheet" href="style.css" type="text/css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js" type="text/javascript"></script>
<script src="common.js" type="text/javascript"></script>

</head>

<body>
<div id="logo"></div>
<div id="navpost">
    <ul id="jsddm">
        <li><a href="index.php">Home</a></li>
        <li><a href="#">Games</a>
            <ul>
                <li><a href="GamePortal.php">Portal</a></li>
                <li><a href="GOTW.php">Game of the week</a></li>
				<li><a href="UpcomingGames.php">Upcoming Games</a></li>
            </ul>
        </li>
        <li><a href="#">Development</a>
            <ul>
                <li><a href="HelpUs.php">Get Involved</a></li>
                <li><a href="JoinDevTeam.php">Join the Development Team</a></li>
                <li><a href="#">Code Wiki (N/A)</a></li>
                <li><a href="/DevForum">Development Forum</a></li>
            </ul>
        </li>
     </ul>
</div>

<div id="navList">
<center>
    <h2>Game Categories</h2>
    <ul>
        <li><a href="BrowseGame.php?category=action">Action</a></li>
        <li><a href="BrowseGame.php?category=adventure">Adventure</a></li>
        <li><a href="BrowseGame.php?category=barbie">Barbie</a></li>
        <li><a href="BrowseGame.php?category=battle">Battle</a></li>

        <li><a href="BrowseGame.php?category=card">Card</a></li>
        <li><a href="BrowseGame.php?category=cartoon">Cartoon</a></li>
        <li><a href="BrowseGame.php?category=classic">Classic</a></li>
        <li><a href="BrowseGame.php?category=cooking">Cooking</a></li>
        <li><a href="BrowseGame.php?category=fashion">Fashion</a></li>
        <li><a href="BrowseGame.php?category=fighting">Fighting</a></li>

        <li><a href="BrowseGame.php?category=funny">Funny</a></li>
        <li><a href="BrowseGame.php?category=kids">Kids</a></li>
        <li><a href="BrowseGame.php?category=kirby">Kirby</a></li>
        <li><a href="BrowseGame.php?category=mario">Mario</a></li>
        <li><a href="BrowseGame.php?category=mini">Mini</a></li>
        <li><a href="BrowseGame.php?category=movies">Movies</a></li>

        <li><a href="BrowseGame.php?category=paint">Painting</a></li>
        <li><a href="BrowseGame.php?category=pokemon">Pokemon</a></li>
        <li><a href="BrowseGame.php?category=quiz">Quiz</a></li>
        <li><a href="BrowseGame.php?category=shooting">Shooting</a></li>
        <li><a href="BrowseGame.php?category=sonic">Sonic</a></li>
        <li><a href="BrowseGame.php?category=other">Others</a></li>

    </ul>
    </center>
</div>

<div class="annoucement">
	<p>We are still under beta phase. <b>You will see some errors and missing features around here.</b></p>
</div>

<div id="conTop">
	<div id="content">
    	<h2>The Impossible Quiz</h2>
        
        <div id="playnowbtn"><a href='/PlayGame.php?gid=93823'><img border="0" src="images/play.png"</a></div>
        
        <br />
        <div id="gameinfo">
            <p>Think you can find a way to beat the worlds impossible quiz?</p>
            
            <p>Game Rating: E 10+</p>
            <p>Our Reviews: 46.9/50<p>
            <p>Date Added: 4/23/10</p>
            <p>Creator: Splatt-Me-Do and Newgrounds</p>
            <p><a href='http://theimpossiblequiz.net'>Visit Publishers Site</a></p>
        </div>
        
        <br />
        <a href="javascript:toggle('togglelink')">More Info</a>
        
        <div id="togglelink" style="display: none">
            <div align="left" class="minfo">
                <p>Try to beat the quiz by answering all of the quesions. It's as simple as that! Or is it...? You may think its simple but its not! Are you smart enough to take the worlds most impossible quiz! Only few survived without cheating!</p>
            </div>
		</div>
        
        <!-- AddThis Button BEGIN -->
        
        <div class="addthis_toolbox addthis_default_style">
        
        <a class="addthis_button_facebook"></a>
        
        <a class="addthis_button_email"></a>
        
        <a class="addthis_button_favorites"></a>
        
        <a class="addthis_button_print"></a>
        
        <span class="addthis_separator">|</span>
        
        <a href="http://www.addthis.com/bookmark.php?v=250&amp;username=xa-4bca9c9a41378345" class="addthis_button_expanded">More</a>
        
        <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4bca9c9a41378345"></script>
        
        <!-- AddThis Button END -->
        
        <br>
        
        <p>Wanna add this game in your website, your blog, or your page? You can! Just copy the code below!</p>
        
        <textarea rows="6" cols="70" class="texta" readonly="readonly"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="400" height="200"> <param name="movie" value=""> <param name="quality" value="high"> <embed src="" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="400" height="200"></embed>
        
        <a href='http://flash-planet.co.cc/ViewGame.php?gid=93823'>View Game Info</a> <a href='http://flash-planet.co.cc/FullScreen.php?gid=93823'>Go Full Screen!</a> <a href='http://theimpossiblequiz.net'>Splatt-Me-Do and Newgrounds</a>
        
        </object></textarea>
        <br>
        
        <b><i>Disclaimer:</b> We do not own or create this game in any way. The creator URL is used so we can give them credit and hard work that they put in this game. If your going to put the game in your website, please do <b><u>NOT</u></b> remove the links below including the creator's URL. If we find that the links are removed, we WILL report you to DMCA and they will shut down your website.</i>
    </div>
</div>

<div id="footertxt"><div id="footerstick">
	<p>Links: <a href="Tos.php">Terms of Service</a> | <a href="PrivacyPolicy.php">Privacy Policy</a> | <a href="Disclaimer.php">Disclaimer</a> | <a href="Report.php">Report Errors</a> | <a href="ContactUs.php">Contact Us</a></p>
	<p>DISCLAIMER: The games in the site belong to their owners</p>
	<p>Copyright 2010 Flash Planet</p>
</div></div>
<div id='footerbg'></div>
</body>
</html>

new_style.css
Code:
@charset "utf-8";
/*************************
*       NEW CSS
* Designed by Fg Designs
*   www.FgDesigns.net
*************************/

body {
	background-color: #000000;
	background-image: url(images/top.png);
	background-repeat: no-repeat;
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	margin: 0px;
	padding: 0px;
}

a, a:link, a:visited, a:active {
	text-decoration: none;
	color: #00BACC;
}
a:hover {
	color: cyan;
}

#wrap {
	width: 994px;
	margin: 0px auto 0px auto;
	padding: 0px;
}

h3 {
	color: #0072FF;
}

h4 {
	color: #00A9FF;
	border-bottom: 1px dashed #BFBFBF;
}

#conTop {
	background-image: url(images/contop.png);
	background-repeat: no-repeat;
	width: 700px;
	margin: 0px;
	padding: 0px;
	float: left;
}

#navList {
	width: 250px;
	height: 600px;
	float: right;
	background-image: url(images/navlist.png);
	background-repeat: no-repeat;
	margin: 0px;
	padding: 0px;
}

ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
}

#content {
	float: left;
	margin: 10px 20px 0px 20px;
	padding: 0px;
	width: 660px;
}

.minfo {
	width: 600px;
	height: 35px;
	color: #9BB4FF;
}

.texta {
	background-color: #005577;
	border: 1px solid #0078A8;
	color: white;
	font: 11px "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
}

.togglelink{
	color: cyan;
}

.playnowbtn{
	position:relative;
	left:40px;
}

#navpos {
	float: left;
	margin: 20px 0px 0px 0px;
}
	
#navborder {
	background-image:url(images/border.png);
}

#logo {
	background-image: url(images/logo.png);
	float: left;
}

#categorytitle {
	text-transform: capitalize;
}

ul#list-nav {
    list-style: none;
    margin: 20px;
    padding: 0px;
    width: 525px;
}
ul#list-nav li {
    display: inline;
}

.announcement {
	background-image: url(images/annoucementbox.png);
	background-repeat: no-repeat;
	float: left;
	color; #FF0000;
	width: 475px;
	height: 65px;
	margin: 0px 113px 0px 112px;
	padding: 0px;
}
.annoucement p {
	color: #990000;
	margin: 5px;
	padding: 0px;
}

#copyright {
	text-align: right;
}

.gameinfo {
	width: 320px;
	padding: 10px;
	border: 2px solid white;
	margin: 0px;
}

.disclaimer {
	font-size: 9px;
	line-height: 11px;
	color: #4d4d4d;
	vertical-align: text-top;
}
.gameinfo {
	width: 320px;
    padding: 10px;
    border: 2px solid white;
    margin: 0px;
}

#jsddm {
	margin: 0px;
	padding: 0px;
}
#jsddm li {
	float: left;
    list-style: none;
}
#jsddm li a {
	display: block;
	padding: 8px 12px;
	text-decoration: none;
	border-right: 1px solid white;
	border-left: 1px solid white;
	width: 70px;
	color: #EAFFED;
	white-space: nowrap
}
#jsddm li ul {
	margin: 0px;
    padding: 0px;
	position: absolute;
	display: none;
}
          
#jsddm li ul li {
	display: inline;
}
          
#jsddm li ul li a {
	width: auto;
    background: lightblue;
}
          
#jsddm li ul li a:hover {
	background: blue;
}

/*** FOOTER ***/
#footerbg {
	position: absolute;
	margin: 0px auto 0px auto;
	width: 1200px;
	height: 600px;
	background-image: url(images/footer.png);
	background-repeat: no-repeat;
	background-position: bottom center;
	z-index: -99;    
}
#footertxt {
	margin: 730px 0px 0px 80px;
	color: #333333;
}
    
#footertxt a{
	color:#000066;
}

.footerStick {
	width: 1000px;
	margin: 0px auto 0px auto;
	padding: 0px;
}

common.js
Code:
var timeout    = 500;
var closetimer = 0;
var ddmenuitem = 0;

function jsddm_open()
{  jsddm_canceltimer();
   jsddm_close();
   ddmenuitem = $(this).find('ul').css('visibility', 'visible');}

function jsddm_close()
{  if(ddmenuitem) ddmenuitem.css('visibility', 'hidden');}

function jsddm_timer()
{  closetimer = window.setTimeout(jsddm_close, timeout);}

function jsddm_canceltimer()
{  if(closetimer)
   {  window.clearTimeout(closetimer);
      closetimer = null;}}

$(document).ready(function()
{  $('#jsddm > li').bind('mouseover', jsddm_open)
   $('#jsddm > li').bind('mouseout',  jsddm_timer)});

document.onclick = jsddm_close;

function toggle(targetId) {

target = document.all(targetId);

if (target.style.display == "none"){

target.style.display="block";

} else {

target.style.display="none";

}

}

//-->

I hate you.. I wasted a lot of time cleaning up your code, and I swear you were everywhere. You had shit inside of shit that didn't make sense. Next time, work slowly. Keep looking at your editor if you don't know what your doing. Also, I suggest reading more on HTML and CSS and learning more in depth before you try to handle a task like this.
 
I apologize for the waste of time, but thank you for the code. Look, im not very good at CSS, okay? This is my first time making a website using PHP, HTML, Java, and CSS.

Since you did all this for me, I will make 75 posts on your forum (probably today or tomorrow). If you want to increase it, you can. And your username will be added to my credits list. Don't get mad, at least you did a good thing.
 
Back
Top Bottom