HTML - Footer Isnt Working.
NEW PROBLEM:
Look down at last post. A link at the top of my site is bieng bumped down a line for no reason. Why, and how do i fix it? (Note: It only happens in IE, not FireFox, or Opera) Well, heres the code: Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Lithium Games Home</title> <meta http-equiv="Games and Applications" content="text/html; charset=iso-8859-1"> <style type="text/css"> * { margin:0; padding:0; } body { BACKGROUND-IMAGE: url(http://img410.imageshack.us/img410/1112/backwh0.jpg) } #container img { display:block; border:0; margin:auto; clear:both; } #logo { padding-bottom:5px; padding-top:3px; } #nav { width:194px; height:32px; margin:4px auto; list-style-type:none; } #nav li { margin:0 2px; float:left; display:inline; } #nav img { float:left; } #footer { position:absolute; width:100%; bottom:0; text-align:center; } </style> </head> <body> <div id="container"> <CENTER> <img id="logo" src="http://img136.imageshack.us/img136/9871/lglogoso1.gif" alt="Lithium Games Logo"> <img src="http://img165.imageshack.us/img165/8732/linesur6.gif" alt=""> <ul id="nav"> <p> <li><a href="http://lithium-games.com/"><img src="http://img165.imageshack.us/img165/9886/homebuttonjd7.gif" alt="Lithium Games Home"></a></li> <li><a href="/Games/sixteen.html"><img src="http://img165.imageshack.us/img165/3537/gamesbuttonkh2.gif" alt="Download Games"></a></li> <li><a href="http://imageshack.us"><img src="http://img136.imageshack.us/img136/9639/appsbuttonuv9.gif" alt="Download Applications"></a></li> </ul> <img src="http://img165.imageshack.us/img165/8732/linesur6.gif" alt=""> </div> </p> </CENTER> </div> <br /> <p style="text-align: center;"> <FONT SIZE=5 COLOR="white"><u> Lithium Games</u> </FONT SIZE></p> <br /> <p style="text-align: center;"> <FONT SIZE=3 COLOR="white"> Lithium Games is a small, yet growing software development company. <br /> We mainly focus on producing games, but we make various computer applications as well. <br /> We strive to provide nothing but the utmost quality in our programs. <br /> <img src="http://img165.imageshack.us/img165/8732/linesur6.gif" alt=""> </FONT SIZE></p> <br /> <p style="text-align: center;"> <FONT SIZE=5 COLOR="white"><u> Lithium News:</u> </FONT SIZE></p> <div id="footer"> ©Lithium Games, 2008 All Rights Reserved</div> </body> </html> Similar TutorialsHTML Code: <html> <head> <title> My First Script </title> <style type="text/css"> .highlight { color: red } </style> <script type="text/JavaScript"> function showBrowserType() { document.getElementById("readout").innerHtml = "your browser says it is: " + "<span class='highlight'>" + navigator.userAgent + "</span>.hr />"; } window.onloadd = showBrowserType; </script> </head> <body> <h1> Let's Script. . . </h1> <hr> <h1> Let's Script. . . </h1> <hr /> <div id="readout"></div> </body> </html> Help, im really stuck... Ive managed to compose a cool HTML5 menu, that works beautifully in Chrome and Safari. It falls back nicely in IE9 and FF.... but IE8 .... clueless.. 2 problems: 1 -> Menu doesnt load correctly (see screenshot below) 2 -> The text div is being faded along with the background.... (see screenshot below) Both errors only take place in IE8.. Could someone point me in the right direction? Very, merry, much obliged. Thanks! source: X screenshot IE8: http://img442.imageshack.us/img442/1842/tancr.png I''m trying to center the main title of the page: Combative Conditioning $50 per month http://lmiinc.com/combat_conditioning.html It seems to be off to the right a lot... But I have it text-align: center; Any ideas? Thanks. This banner was working normally at one point, showing up & linking to the proper website when you clicked on it. But now it doesnt show up on regular computers & only on mobile phones from time to time? <A href="http://www.myspace.com/PunkRockPrincess.com"><IMG src=]http://i634.photobucket.com/albums/uu61/PunkRockPrincesscom/prp_glow_light.jpg" style="visibility: visible ! important; display: block ! important;"/></A><BR/> Can anyone see why its not working properly? I'm stuck. Thanks. ....I had enough! My footer is all over the place! Why can't it just move down when the text becomes longer! I am just using <div>. My header, the nav bar and the right side bar are fixed and I want the footer to just fit in underneath. Anybody got some code which solves that problem? Chris PHP Code: <?php echo "<div class='mainarea'>"; include ("includes/header.inc"); include ("includes/navigation.inc"); if ($var == 'service' or $var == 'consultancy') { echo "<div class='textarea_services'><p><br /></p>"; include ("text.php"); echo "</div>"; } else { echo "<div class='textarea'><p><br /></p>"; include ("text.php"); echo "</div>"; } if ($var != 'service' and $var != 'consultancy'){include ("includes/rightside.inc");} if ($var != 'privacy'){include ("includes/footer.inc");} echo "</div>"; ?> Could anyone tell me how I get around my code not being strict when I use flash on my site? I've got this site www.livingwordchurch.org.uk/new.html and it's not strict for several reason but many of them being the flash file inserted in the header. How can I deal with this? Hey, im trying to find out why the header on my website isnt at the top of the page. it also moves sometimes even though the code appears to be all the same. the address is www.themonsterbox.com thanks in advance for any help. I couldn't find my footer anywhere on my page, when I copied a footer from another page of mine, it put the footer in the wrong place and I can't get it to go back to being a footer instead of part of the content box. Please help! Hi, im trying to create a footer that sticks to the bottom of my page and stays there. Please help, im sorta new with this, html/css stuff, I have tried many of the codes that i have searched on google. Any other ways? Please tell me. Thanks This is the website I'm working on: http://glacurh.nacurh.org/GLACURH2011/ I cannot, for the life of me, get a footer put below everything with a thin, solid border on it with text aligned in the middle. The footer width, including the border, should be 800x40. The background color should be #FABF8F. Please help! I don't know what I'm doing wrong! You all rock! The footer on my webpage stays with the bottom of the window - now when I make the window smaller, the footer moves with the window and then stays there, when I scroll down, the footer stays in the middle of the text. WHAT'S WRONG? Please have a look: http://www.stainless-expert.com/new/index.php Thanks Chris Hello, I've been trying to get a footer bar at the fixed bottom position. So far, it seems to work in FF, IE and I also checked in the new Google Chrome browser. However, in IE something strange happens: when a menu in the navigation gets expanded, the footer shifts over the width of the navigation div to the right. You can see the site and the problem at this test page. When you go over "hoofdstukken" in the menu, the footer div moves to the right - at least in my IE7. Any ideas what could cause this - and how to solve it? Thanks in advance. Kind regards, Tom I'm not sure whether this is a CSS problem or Html but I'm gonna post it here any way. My footer moves up on my photos pages. I put the footer php file in the exact place I put it on the home page. I don't get why it moves up on my photo page though. Here is the link http://www.wizardsbuzz.com/photos I'll having issue on my page, I want to insert a footer for the copyright of this page but I cannot figure out what or how could I insert a footer to my css code and html code. Code: body { margin-top: 0; margin-bottom: 0; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; font-family: Arial, Helvetica, sans-serif; background: #FFFAFA; } a:link { color: #1C1C1C; text-decoration: none; } /* unvisited link */ a:visited { color: #1C1C1C; text-decoration: none; } /* visited link */ a:hover {color: #0099CC} /* mouse over link */ a:active {color: #0099CC} /* selected link */ .seperators {color: white}/* Navigation selector */ #nav { color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; font-size: small; } #nav a:link { color: #FFFFFF; text-decoration: none; } /* unvisited link */ #nav a:visited { color: #FFFFFF; text-decoration: none; } /* visited link */ #nav a:hover {color: #0099CC} /* mouse over link */ #nav a:active {color: #0099CC} /* selected link */ /* menu*/ /* left column */ #left { position: absolute; left: 15px; top: 160px; width: 200px; background: #F5F5F5; border-bottom: 0.5pt solid RGB(0,0,0); border-right: 0.5pt solid #D3D3D3; } #left .searchengine { width: 180px; margin: 10px; background: #DCDCDC; padding-bottom: 4px; padding-top: 4px; border-bottom: 0.5pt solid RGB(0,0,0); } #left img {width: 180px; margin: 10px;} #left .leftbox {width: 180px; margin: 10px;} #left .leftbox .leftheaderbox { background: url('../images/Header.gif') #E2E2E2; background-repeat: no-repeat; height: 30px; font-size: 14px; font-weight: bold; border-bottom: 0.5pt solid RGB(0,0,0); } #left .leftbox .leftheaderbox span { top: 7px; left: 6px; position: relative; color: #F0F8FF; } #left .leftbox .leftheaderlist { background: url('../images/headerlist.gif') #E2E2E2; background-repeat: no-repeat; height: 25px; font-size: 12px; font-weight: bold; border-bottom: 0.5pt solid RGB(0,0,0); } #left .leftbox .leftheaderlist span { top: 7px; left: 7px; position: relative; color: #F0F8FF; } #left .leftbox .leftboxlist{ border-top: 1px outset; font-size: 10px; background: #E2E2E2; background-repeat: no-repeat; background-position: 5px; padding-left: 18px; padding-top: 4px; height: 18px; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 0.5pt solid RGB(0,0,0); } /* middle column */ #center { position: absolute; top: 155px; width: 543px; margin-left: 230px; margin-right: 230px; background: #F5F5F5; border-bottom: 0.5pt solid RGB(0,0,0); border-right: 0.5pt solid #C8C8C8 ; } #center .middlenav{ width: 543px; height: 20px; background: #A80000; border-bottom: 1.5pt solid #D2B48C; } #center .middlecontent{ width: 543px; } #center .middlecontent .title{ position: relative; font-size: 12px; font-weight: bold; text-align: left; margin: 5px; background: #D3D3D3; color: #708090; border-top: 1.5pt solid #A80000; border-bottom: 1.5pt solid #A80000; } #center .middlecontent .content{ position: relative; margin: 5px; font-size: 10px; text-align: justify; text-indent: 5px; } /* right column */ #right { position: absolute; right: 15px; top: 160px; width: 200px; background: #F5F5F5; border-bottom: 0.5pt solid RGB(0,0,0); border-right: 0.5pt solid #D3D3D3; } #right .rightbox {width: 180px; margin: 10px;} #right .rightbox .rightheaderbox { background: url('../images/Header.gif') #E2E2E2; background-repeat: no-repeat; height: 30px; font-size: 14px; font-weight: bold; border-bottom: 0.5pt solid RGB(0,0,0); } #right .rightbox .rightheaderbox span { top: 7px; left: 6px; position: relative; color: #F0F8FF; } #right .rightbox .rightheaderlist { background: url('../images/headerlist.gif') #E2E2E2; background-repeat: no-repeat; height: 25px; font-size: 12px; font-weight: bold; border-bottom: 0.5pt solid RGB(0,0,0); } #right .rightbox .rightheaderlist span { top: 7px; left: 7px; position: relative; color: #F0F8FF; } #right .rightbox .rightboxlist{ border-top: 1px outset; font-size: 10px; background: #E2E2E2; background-repeat: no-repeat; background-position: 5px; padding-left: 18px; padding-top: 4px; height: 18px; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 0.5pt solid RGB(0,0,0); } And here the actual output/page I want the footer to be like as my header just a rectangular, please someOne help me with this. Hello HTML experts. I need someone's help urgently. I am trying to obtain the header & footer html of my site. I know I'm supposed to go to VIEW SOURCE and whatnot....but then when I get there I get stuck as I do not understand this html stuff........ Please help me...... My site is dishnetworkoffers.net Ok I just deleted about 100 links off of this page: http://lmiinc.com/LMIinc_Links.html And now as you can see there is some extra space. What do I have to do in order to make it look "normal"? Thanks. Hello all, I'm hoping someone can help me with what should be a super simple thing, but I'm not sure if I've just been staring at this code too long or what. Basically all I am trying to do is center my footer on the page, but it seems glued to the left side. I've tried putting in <div align="center" within my HTML, and auto values for my margins in CSS, but neither seem to do the trick. Can anyone help me out? Related markup is below: <div id="footer" align="center"> <div class="container"> <div class="leftFooter"> <ul class="footerNavMain top"> <li class="first"><a href=" ">Products</a></li> <li> | </li> <li><a href=" ">FAQ</a></li> <li> | </li> <li class="last"><a href=" ">Where To Find Us</a></li> </ul> <ul class="footerNavMain bottom"> <li class="first">Phone Number</li> <li> | </li> <li class="last"><a href=" ">Email Link</a></li> </ul> <div class="copyright"> <sup>©</sup> 2011 Copyright™, All Rights Reserved. </div><!-- copyright close div --> </div> <!-- left footer close div --> </div><!-- container close div --> </div> CSS #footer { background: url("/Assets/footer2.jpg") no-repeat scroll 0 0; display: block; float: left; height: 75px; width: 900px; margin-left: auto; margin-right: auto; } #footer .container { height: 75px; margin-left: auto; margin-right: auto; padding-right: 45px; padding-top: 3px; width: 900px; } #footer .leftFooter { background: none repeat scroll 0 0; color: #FFFFFF; display: block; float: left; height: 100%; margin-left: 5 px; overflow: hidden; position: relative; width: 900px; } #footer .rightFooter { background: none repeat scroll 0 0 #4E4E4E; color: #FFFFFF; display: block; float: right; height: 100%; margin-left: 15 px; position: relative; width: 355px; } #footer .copyright { display: block; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000; height: 15px; left: 0; line-height: 13px; position: absolute; text-align: center; top: 50px; width: 900px; z-index: 1; font-weight: 700; } #footer a:link{ color: #FFFFFF; text-decoration: none; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; } #footer a:visited { color: #FFFFFF; text-decoration: none; font-size: 11px; } #footer a:hover{ color: #000000; text-decoration: underline; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; } #footer ul.footerNavMain { display: block; float: left; margin-top: 5px; width: 900px; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; } #footer ul.footerNavMain.top { margin-left: 185px; width: 900px; } #footer ul.footerNavMain.bottom { margin-left: 145px; width: 900px; color: #000000; } #footer .footernavMain li { display: block; float: left; padding-left: 4px; padding-right: 4px; } #footernav li a:link { color: #FFFFFF; text-decoration: none; font-size: 11px; } #footernav li a:visited { color: #FFFFFF; text-decoration: none; font-size: 11px; } #footernav li a:active { color: #000000; text-decoration: underline; font-size: 11px; } #header nav li.last, #footerNavMain li.last { padding right: 0; } #footer .footerNavMain li.first { background: none repeat scroll 0 0 transparent; padding-left:0; } Hello, I'm not a web designer in any sense, but I'm doing this website for a friend. However, I can't figure out how to set the footer to the position I need it to be in. I need the white text to appear on the blue bar that goes across the bottom of the page. But the footer keeps starting at the bottom of the page and it's just getting to the point where I've spent way too many hours trying to figure it out and it's making me pretty mad. Here's the page I'm specifically talking about: http://dianarusselldesign.com/bbb.html I'm using Dreamweaver 8 because I'm poor, and again, NOT a web designer. Here's a screencap of what the css and dreamweaver set ups look like. http://i367.photobucket.com/albums/oo120/meepum/css.jpg http://i367.photobucket.com/albums/oo120/meepum/bbb.jpg PLEASE HELP! Thank you! Hello, So I posted a while ago that I'm having issues with the footer on a website I'm making for a friend. Here's a jpg of how it looks now: http://i367.photobucket.com/albums/o...epum/weird.jpg So I really really need the footer to be RIGHT UNDER the sidebar. I can find all kinds of tutorials online about making the footer "sticky" to the bottom of the page, but nothing about making it start at an exact location. The sidebar ends at 519px and I want the footer to start at 525px. I've tried putting that into the position property, but in dreamweaver it just shows up crossed out. Does anyone have any input? I'm getting so frustrated and angry that I can't fix this. It's driving me nuts. Thank you for any help!!! |