Har fået uploadet hele cmset og siden op igen.
http://kh4zy.net23.net/index.phpFooteren er ude af wrapperen og har prøvet med sticky footer, så den står som den gør var før.
- <!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" />
- <link rel="stylesheet" type="text/css" href="style/style.css"/>
- <title>webSPELL v4 - News</title>
- <link href="_stylesheet.css" rel="stylesheet" type="text/css">
- <script src="js/bbcode.js" language="jscript" type="text/javascript"></script>
- </head>
- <body>
- <div id="wrapper">
- <div id="headertop">
- <div id="topwelcome">
- </div>
- <div id="headerlogin">
- <div id="login1">
- <form method="post" name="login" action="checklogin.php">
- <input name="ws_user" type="text" class="userfield" value="Username" onfocus="this.value=''" />
- <input name="pwd" type="password" class="pwdfield" value="Password" onfocus="this.value=''" />
- <input type="image" class="loginbutton" src="images/template/login/login_go.png" name="submit" value="" />
- <a href="index.php?site=register" target="_self" class="register">register now</a>
- <a href="index.php?site=lostpassword" target="_self" class="lostpassword">lost password?</a>
- </form>
- </div>
- </div>
- </div>
- <div id="headerimg">
- </div>
- <div>
- <div>
- <a href="index.php" target="_self" id="navhome">HOME</a>
- </div>
- <div>
- <a href="index.php?site=members" target="_self" id="navmembers">MEMBERS</a>
- </div>
- <div>
- <a href="index.php?site=clanwars" target="_self" id="navmatches">MATCHES</a>
- </div>
- <div>
- <a href="index.php?site=forum" target="_self" id="navforum">FORUM</a>
- </div>
- <div>
- <a href="index.php?site=sponsors" target="_self" id="navsponsors">SPONSORS</a>
- </div>
- <div>
- <a href="index.php?site=files" target="_self" id="navdownloads">DOWNLOADS</a>
- </div>
- <div>
- <a href="index.php?site=gallery" target="_self" id="navmedia">MEDIA</a>
- </div>
- <div>
- <a href="index.php?site=contact" target="_self" id="navcontactus">CONTACTUS</a>
- </div>
- <div id="navrest">
- </div>
- </div>
- <div id="navunderline">
- </div>
-
- <div id="contentbg">
- <div id="contentbar">
- <div id="contentarea">
- <h2>News</h2>
- <input type="button" onclick="MM_goToURL('parent','index.php?site=news&action=archive');return document.MM_returnValue;" value="Archive" /><hr /><table width="100%" border="0" cellspacing="0" cellpadding="2">
- <tr bgcolor="#333333">
- <td class="title">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><a href="index.php?site=news&show=Newstest" style="padding:1px;background-color:#E6E6E6;"><small>Newstest</small></a> <a class="titlelink" href="index.php?site=news_comments&newsID=2">Test 2</a> </td>
- <td align="right"></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr><td bgcolor="#E6E6E6"></td></tr>
- <tr bgcolor="#FFFFFF">
- <td align="center" valign="top"><img src="images/news-rubrics/1.jpg" border="0" alt="" /></td>
- </tr>
- <tr>
- <td bgcolor="#FFFFFF" valign="top">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top" align="justify">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce quis lectus quis sem lacinia nonummy. Proin mollis lorem non dolor. In hac habitasse platea dictumst. Nulla ultrices odio. Donec augue. Phasellus dui. Maecenas facilisis nisl vitae nibh. Proin vel est vitae eros pretium dignissim. Aliquam aliquam sodales orci. Suspendisse potenti. Nunc adipiscing euismod arcu. Quisque facilisis mattis lacus. Fusce bibendum, velit in venenatis viverra, tellus ligula dignissim felis, quis euismod mauris tellus ut urna.<br />
- <br />
- Proin scelerisque. Nulla in mi. Integer ac leo. Nunc urna ligula, gravida a, pretium vitae, bibendum nec, ante. Aliquam ullamcorper iaculis lectus. Sed vel dui. Etiam lacinia risus vitae lacus. Aliquam elementum imperdiet turpis. In id metus. Mauris eu nisl. Nam pharetra nisi nec enim. Nulla aliquam, tellus sed laoreet blandit, eros urna vehicula lectus, et vulputate mauris arcu ut arcu. Praesent eros metus, accumsan a, malesuada et, commodo vel, nulla. Aliquam sagittis auctor sapien. Morbi a nibh. Nullam non metus. Quisque tellus lorem, pellentesque sit amet, blandit ac, nonummy eget, augue.<br />
- <br />
- Donec eu metus sed lorem auctor vehicula. Fusce dolor. Nulla iaculis congue leo. Mauris risus velit, pulvinar ut, dignissim non, sagittis in, leo. Phasellus aliquet mi vel metus. Maecenas vestibulum lorem at velit. Morbi consequat metus a tellus. Nullam quis dui. Sed enim odio, bibendum at, ultricies et, ullamcorper sit amet, neque. Curabitur porttitor dolor. Vivamus vulputate. Donec sit amet augue eu risus rutrum vestibulum. Etiam pede. In hac habitasse platea dictumst. Vivamus non erat. Vivamus congue vehicula ante.</td>
- </tr>
- <tr>
- <td valign="top" align="right"></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td bgcolor="#E6E6E6">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><span>Links</span>: n/a<br /><span>written by <a href="index.php?site=profile&id=1"><b>kh4zy</b></a> - 14.02.2013 - 17:45</span></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td><span style="overflow:hidden;"><a href="index.php?site=news_comments&newsID=2">no comments</a></span></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <br /><br /><table width="100%" border="0" cellspacing="0" cellpadding="2">
- <tr bgcolor="#333333">
- <td class="title">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><a href="index.php?site=news&show=Newstest" style="padding:1px;background-color:#E6E6E6;"><small>Newstest</small></a> <a class="titlelink" href="index.php?site=news_comments&newsID=1">TEST</a> </td>
- <td align="right"></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr><td bgcolor="#E6E6E6"></td></tr>
- <tr bgcolor="#F2F2F2">
- <td align="center" valign="top"><img src="images/news-rubrics/1.jpg" border="0" alt="" /></td>
- </tr>
- <tr>
- <td bgcolor="#F2F2F2" valign="top">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top" align="justify">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce quis lectus quis sem lacinia nonummy. Proin mollis lorem non dolor. In hac habitasse platea dictumst. Nulla ultrices odio. Donec augue. Phasellus dui. Maecenas facilisis nisl vitae nibh. Proin vel est vitae eros pretium dignissim. Aliquam aliquam sodales orci. Suspendisse potenti. Nunc adipiscing euismod arcu. Quisque facilisis mattis lacus. Fusce bibendum, velit in venenatis viverra, tellus ligula dignissim felis, quis euismod mauris tellus ut urna.<br />
- <br />
- Proin scelerisque. Nulla in mi. Integer ac leo. Nunc urna ligula, gravida a, pretium vitae, bibendum nec, ante. Aliquam ullamcorper iaculis lectus. Sed vel dui. Etiam lacinia risus vitae lacus. Aliquam elementum imperdiet turpis. In id metus. Mauris eu nisl. Nam pharetra nisi nec enim. Nulla aliquam, tellus sed laoreet blandit, eros urna vehicula lectus, et vulputate mauris arcu ut arcu. Praesent eros metus, accumsan a, malesuada et, commodo vel, nulla. Aliquam sagittis auctor sapien. Morbi a nibh. Nullam non metus. Quisque tellus lorem, pellentesque sit amet, blandit ac, nonummy eget, augue.<br />
- <br />
- Donec eu metus sed lorem auctor vehicula. Fusce dolor. Nulla iaculis congue leo. Mauris risus velit, pulvinar ut, dignissim non, sagittis in, leo. Phasellus aliquet mi vel metus. Maecenas vestibulum lorem at velit. Morbi consequat metus a tellus. Nullam quis dui. Sed enim odio, bibendum at, ultricies et, ullamcorper sit amet, neque. Curabitur porttitor dolor. Vivamus vulputate. Donec sit amet augue eu risus rutrum vestibulum. Etiam pede. In hac habitasse platea dictumst. Vivamus non erat. Vivamus congue vehicula ante.</td>
- </tr>
- <tr>
- <td valign="top" align="right"></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td bgcolor="#E6E6E6">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><span>Links</span>: n/a<br /><span>written by <a href="index.php?site=profile&id=1"><b>kh4zy</b></a> - 14.02.2013 - 17:40</span></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td><span style="overflow:hidden;"><a href="index.php?site=news_comments&newsID=1">no comments</a></span></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <br /><br /> </div>
- </div>
-
- <div id="latestnewsbg">
- <div id="latestnewsbar">
- </div>
- <div id="latestnewscontent">
- <table width="100%" cellspacing="0" cellpadding="2"><tr>
- <td bgcolor="#FFFFFF"><small>14.02.2013 - 17:45</small> <br />
- • <a href="index.php?site=news_comments&newsID=2&lang=uk">Test 2</a></td>
- </tr><tr>
- <td bgcolor="#F2F2F2"><small>14.02.2013 - 17:40</small> <br />
- • <a href="index.php?site=news_comments&newsID=1&lang=uk">TEST</a></td>
- </tr></table> </div>
- </div>
-
- <div id="latestmatchesbg">
- <div id="latestmatchesbar">
- </div>
- <div id="latestmatchescontent">
- </div>
- </div>
-
- <div id="latestforumthreadsbg">
- <div id="latestforumthreadsbar">
- </div>
- <div id="latestforumthreadscontent">
- </div>
-
- <div id="sponsorsbg">
- <div id="sponsorsbar">
- </div>
- <div id="sponsorscontent">
- </div>
-
- </div>
- </div>
- </div>
-
- <div id="footerbg">
- <div id="footerbar">
- <div id="copyright">
- </div>
- <div id="author">
- <a href="http://ufrag.net/" target="_blank" id="author2">UFRAG</a
- ></div>
- <div>
- <ul id="ulfooter">
- <li id="lifooter"><a href="index.html" target="_self" class="lifooterstyle">Contact</a></li>
- <li id="lifooter"><a href="index.html" target="_self" class="lifooterstyle">|</a></li>
- <li id="lifooter"><a href="index.html" target="_self" class="lifooterstyle">Imprint</a></li>
- </ul>
- </div>
- </div>
- </div>
- </body>
- </html>
-
- <!-- Hosting24 Analytics Code -->
- <script type="text/javascript" src="http://stats.hosting24.com/count.php"></script>
- <!-- End Of Analytics Code -->
- @charset "utf-8";
- /* CSS Document */
-
- *{
- margin:0px;
- padding:0px;
- }
-
- body{
- background-image:url(../images/template/bg2.jpg);
- }
-
- #wrapper{
- width:1000px;
- height:1600px;
- position:relative;
- margin:auto;
- }
-
- #headertop{
- width:1000px;
- height:40px;
- background-image:url(../images/template/headertop.jpg);
- position:absolute;
- top:0px;
- left:0px;
- }
-
- #topwelcome{
- width:189px;
- height:9px;
- background-image:url(../images/template/welcome.png);
- position:absolute;
- top:16px;
- left:15px;
- }
-
- #headerlogin{
- position:absolute;
- top:10px;
- left:300px;
- }
-
- #headerimg{
- width:1000px;
- height:200px;
- background-image:url(../images/template/headercsgo2.jpg);
- position:absolute;
- top:40px;
- left:0px;
- }
-
- #navhome{
- width:76px;
- height:40px;
- background-image:url(../images/template/navhome.jpg);
- position:absolute;
- top:240px;
- left:0px;
- text-indent:-9999px;
- }
-
- #navmembers{
- width:95px;
- height:40px;
- background-image:url(../images/template/navmembers.jpg);
- position:absolute;
- top:240px;
- left:76px;
- text-indent:-9999px;
- }
-
- #navmatches{
- width:93px;
- height:40px;
- background-image:url(../images/template/navmatches.jpg);
- position:absolute;
- top:240px;
- left:171px;
- text-indent:-9999px;
- }
-
- #navforum{
- width:81px;
- height:40px;
- background-image:url(../images/template/navforum.jpg);
- position:absolute;
- top:240px;
- left:264px;
- text-indent:-9999px;
- }
-
- #navsponsors{
- width:101px;
- height:40px;
- background-image:url(../images/template/navsponsors.jpg);
- position:absolute;
- top:240px;
- left:345px;
- text-indent:-9999px;
- }
-
- #navdownloads{
- width:114px;
- height:40px;
- background-image:url(../images/template/navdownloads.jpg);
- position:absolute;
- top:240px;
- left:446px;
- text-indent:-9999px;
- }
-
- #navmedia{
- width:77px;
- height:40px;
- background-image:url(../images/template/navmedia.jpg);
- position:absolute;
- top:240px;
- left:560px;
- text-indent:-9999px;
- }
-
- #navcontactus{
- width:110px;
- height:40px;
- background-image:url(../images/template/navcontactus.jpg);
- position:absolute;
- top:240px;
- left:637px;
- text-indent:-9999px;
- }
-
- #navrest{
- width:253px;
- height:40px;
- background-image:url(../images/template/navrest.jpg);
- position:absolute;
- top:240px;
- left:747px;
- text-indent:-9999px;
- }
-
- #navunderline{
- width:1000px;
- height:8px;
- background-image:url(../images/template/navunderline.jpg);
- position:absolute;
- top:280px;
- left:0px;
- }
-
- #contentbg{
- width:1000px;
- height:933px;
- background-color:#242424;
- position:absolute;
- top:288px;
- left:0px;
- }
-
- #latestnewsbg{
- width:270px;
- height:197px;
- background-color:#FFF;
- position:absolute;
- top:0px;
- left:730px;
- }
-
- #latestnewsbar{
- width:268px;
- height:40px;
- background-image:url(../images/template/latest_news_bar.jpg);
- position:absolute;
- top:1px;
- left:1px;
- }
-
- #latestnewscontent{
- width:268px;
- height:155px;
- position:absolute;
- top:41px;
- left:1px;
- background-color:#FFF;
- }
-
- #latestmatchesbg{
- width:270px;
- height:197px;
- background-color:#FFF;
- position:absolute;
- top:197px;
- left:730px;
- }
-
- #latestmatchesbar{
- width:268px;
- height:40px;
- background-image:url(../images/template/latest_matches_bar.jpg);
- position:absolute;
- top:0px;
- left:1px;
- }
-
- #latestmatchescontent{
- width:268px;
- height:155px;
- background-color:#FFF;
- position:absolute;
- top:41px;
- left:1px;
- }
-
- #latestforumthreadsbg{
- width:270px;
- height:197px;
- background-color:#FFF;
- position:absolute;
- top:394px;
- left:730px;
- }
-
- #latestforumthreadsbar{
- width:268px;
- height:40px;
- background-image:url(../images/template/latest_forumthreads_bar.jpg);
- position:absolute;
- top:0px;
- left:1px;
- }
-
- #latestforumthreadscontent{
- width:268px;
- height:155px;
- background-color:#FFF;
- position:absolute;
- top:41px;
- left:1px;
- }
-
- #sponsorsbg{
- width:270px;
- height:342px;
- background-color:#FFF;
- position:absolute;
- top:197px;
- left:0px;
- }
-
- #sponsorsbar{
- width:268px;
- height:40px;
- background-image:url(../images/template/sponsors_bar.jpg);
- position:absolute;
- top:0px;
- left:1px;
- }
-
- #sponsorscontent{
- width:268px;
- height:300px;
- position:absolute;
- top:41px;
- left:1px;
- background-color:#FFF;
- }
-
- #contentbar{
- width:728px;
- height:12px;
- background-image:url(../images/template/Content_bar.jpg);
- }
-
- #contentarea{
- width:728px;
- height:921px;
- background-color:#FFF;
- position:absolute;
- top:12px;
- left:0px;
- }
-
- p.contentarea{
- margin-left:10px;
- margin-right:10px;
- }
-
- #footerbg{
- width:1000px;
- height:80px;
- background-color:#FFF;
- position:absolute;
- top:933px;
- left:0px;
- }
-
- #footerbar{
- width:998px;
- height:79px;
- background-image:url(../images/template/footer_bar.jpg);
- position:absolute;
- top:0px;
- left:1px;
- }
-
- #copyright{
- width:279px;
- height:13px;
- position:absolute;
- background-image:url(../images/template/copyright.png);
- top:27px;
- left:12px;
- }
-
- #author2{
- width:306px;
- height:13px;
- background-image:url(../images/template/author.png);
- position:absolute;
- top:42px;
- left:12px;
- display:block;
- text-indent:-9999px;
- }
-
- #ulfooter{
- position:absolute;
- top:27px;
- left:885px;
- list-style-type:none;
- }
-
- #lifooter{
- float:left;
- padding-left:4px;
- }
-
- a.lifooterstyle:link, a.lifooterstyle:visited, a.lifooterstyle:hover, a.lifooterstyle:active{
- font-family:Arial, Helvetica, sans-serif;
- font-weight:bold;
- font-size:12px;
- color:#FFF;
- text-decoration:none;
- }
-
- /*Style for Logged.html*/
-
- #ul_logged_login{
- list-style-type:none;
- }
-
- #il_logged_login{
- float:left;
- margin:4px;
- }
-
- a.logged_style:link, a.logged_style:visited, a.logged_style:hover, a.logged_style:active{
- font-family:Arial, Helvetica, sans-serif;
- font-size:10px;
- font-weight:bold;
- color:#FFF;
- text-decoration: none;
- text-transform:uppercase;
- display:block;
- }
-
- /*END of Logged.html*/
-
- /*Style of login.php*/
-
- #admin{
- font-family:Arial, Helvetica, sans-serif;
- font-size:10px;
- font-weight:bold;
- color:#FFF;
- text-decoration: none;
- text-transform:uppercase;
- display:block;
- }
-
- /*END of login.php*/
-
- /*Style login.html*/
-
- #login1{
- }
-
- #login1 .userfield{
- width:160px;
- height:14px;
- border:solid 1px #6699ff;
- background-color:transparent;
- position:absolute;
- top:2px;
- left:198px;
- color:#FFF;
- font-family:Arial, Helvetica, sans-serif;
- font-size:10px;
- font-weight:bold;
- }
-
- #login1 .pwdfield{
- width:160px;
- height:14px;
- border:solid 1px #6699ff;
- background-color:transparent;
- position:absolute;
- top:2px;
- left:366px;
- color:#FFF;
- font-family:Arial, Helvetica, sans-serif;
- font-size:10px;
- font-weight:bold;
- }
-
- #login1 .loginbutton{
- position:absolute;
- left:538px;
- top:1px;
- }
-
- #login1 .register{
- width:51px;
- height:9px;
- background-image:url(../images/template/login/login_register.png);
- position:absolute;
- top:7px;
- left:577px;
- display:block;
- text-indent:-9999px;
- }
-
- #login1 .lostpassword{
- width:52px;
- height:9px;
- background-image:url(../images/template/login/login_lostpw.png);
- position:absolute;
- top:7px;
- left:636px;
- display:block;
- text-indent:-9999px;
- }
-
- input[type=password]{
- padding-left:4px;
- }
-
- input[type=text]{
- padding-left:4px;
- }
Som du kan se på mit link ovenfor. Så har jeg et content med nyheder, hvor den altid skal udvide sig, men footer skal altid beholde sig i bunden af contentområdet.
Jeg fik prøvet det med sticky footer, men det virkede ikke