HTML - Bottom Banner/footer Needs *some Indentation
My site is www.movehumanityforward.com
On the bottom is a banner. I need to push it to the right a little bit, to align it to the content above it, specifically the corner of the edge next where it says HOME. I appreciate You! Similar TutorialsHi there everyone. First time post here. I am trying to keep a footer at the bottom of my page. The problem is if I don't have enough content to fill up the whole page, the footer is not at the bottom of the screen. I am using tables for my format. My site: http://www.keystonestatistics.com/zzz.php Check the source. Thanks in advance for the help! Hi all, I would like to create a fairly basic site where there are three areas. 1) The Banner which is pinned to the top of the screen. 2) The Main Body which will enlarge dependant on different screen sizes (Both width and depth) 3) The footer which is pinned to the bottom of the screen. The top banner is OK, and the enlarging widthways is OK, but I can't figure out how pin the footer to the bpottom of the screen and enlarge the main body to fill the gap. Any help you can offer is muich appreciated. Hi, I have a template in the making but i have got to a point now where the footer isnt working. I want the footer to stick to the bottom of the browser and for it to work when there is a small amount of content which doesnt require scrolling and also when scrolling is required. At the moment it works when scrolling isnt required but as you will see on my example below when scrolling happens the footer doesnt stay stuck to the bottom of the browser it just moves up with the rest of the site. Any ideas how to fix this? I have been testing in FF2 but i need it working in IE 6 + 7 + FF 2. The site is here any ideas or help would be great Cheers Hi Guys, How can i make my footer stay at the bottom of the page so when the user holds down ctrl and zooms out i want to the footer to stick to the bottom of the screen, i have done this before but i cant remember for the life of me and its actually killing me know can someone put me out of my misery please. heres the HTML and CSS its called BottomBanner HTML Code: <%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %> <!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 runat="server"> <title>Vodafone One Net Express</title> <style type="text/css"> body{background: none repeat scroll 0 0 #F4F4F4; margin:0px !important; padding:0px !important;} .PageSetter{margin-left:auto; margin-right:auto; margin-top:-2.3%; background: none repeat scroll 0 0 #F4F4F4; position:relative; } .TopBanner{background-color:#C51906; width:100%;height:80px;} .TopBanner h1{font-size:2.7em; text-align:center; color:White; margin-left:auto; margin-right:auto; padding-top:15px; font-weight: normal; width: 600px;} .BottomBanner{background-color:#C51906; width:100%;height:80px; margin-bottom:-0.1% !IMPORTANT} .BottomBanner h1{font-size:2.3em; text-align:center; color:White; margin-left:auto; margin-right:auto; padding-top:15px; font-weight: normal; width: 600px;} .IframeContiner{width:980px; margin-left:auto; margin-right:auto; margin-top:10px} .IframeStyle{Width:982px; height:1000px; border:0px} </style> </head> <body> <div class="PageSetter"> <div class="TopBanner"> <h1> Vodafone One Net Express </h1> </div> <div class="IframeContiner"> <iframe scrolling="auto" class="IframeStyle" src="http://www.telegraph.co.uk/finance/yourbusiness/businesstechnology/9209385/Review-Vodafone-One-Net-Express.html"> </iframe> </div> </div> <div class="BottomBanner"> <h1> Call Now 0800 1980 000 </h1> </div> </body> </html> Usually when people place a footer at the bottom of a page they do it outside of the wrapper, so the footer is a first generation child of the body. However, I'm helping with a site that has shadow bars running down the sides of the wrapper div, and we want the footer to stick to the bottom, but inside of the wrapper. Currently any content that extends to where the footer is begins to overlap it. Here is my code: HTML Code: <html> <head> <title>Closeout Boat Sales</title> <link rel="stylesheet" type="text/css" href="style/styles.css" /> <!--[if IE]> <link rel="stylesheet" type="text/css" href="style/styles2.css" /> <![endif]--> <script type="text/javascript" src="jquery-1.7.1.min.js"></script> <script type="text/javascript" src="jquery.hoverIntent.minified.js"></script> <script type="text/javascript" src="scripts.js"> </script> </head> <body> <div id="wrapper"> <div id="header"> <?php include('header.php'); ?> </div> <div id="navcontainer"> <?php include('nav.html'); ?> </div> <br /> <div id="sidebar"> <p><img src="images/latest_sidebaroff.png" id="toggle1" /></p> <p><img src="images/bulk_sidebaroff.png" id="toggle2" /></p> </div> <div id="main"> <br /><br /> <div id="latest"> <table style="width: 100%"> <tr> <p><?php echo $dynamicList; ?></p> </tr></table> </div> </div> <div id="footer"> <?php include('footer.php');?> </div> </div> </body> </html> HTML Code: body,td,th { font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #333; line-height:1.5em; margin: 0; } body { background-color: #fff; } #header h1 { font-size: 32px; display: inline; } #header a { font-size: 32px; color: #06C; text-decoration: none; } #cartBar { /*float:right; background-color: gray; */ width: 1003px; text-align: right; margin-left: -2px; } #wrapper { margin-left: 100px; height: 100%; width:1050px; padding-left: 40px; padding-top: 10px; background-color: #fff; background-image: url('../images/shadow-bar.png'); background-repeat: repeat-y; } #header { width: 1002px; margin-left: -19px; margin-top: -10px; padding: 3px; background-image: url('../images/headerBar.png'); } #sidebar { width: 250px; float: left; } #main { width: 800px; float: left; } #main a { font-weight: bold; color: #06c; } #main a:hover { color: #999; } #main a:visited { color: #06c; } #navcontainer { width: 100%; text-align: center; } #navcontainer li { /*float:left;*/ display:inline-block; list-style-type:none; position:relative; margin:0 10px; overflow:hidden; } #navcontainer li:hover { overflow:visible; } #navcontainer li ul { position:absolute; display:block; left:0px; top:20px; margin:0; width:110px; padding:0; background-color:#CCC; padding:0 10px 10px; } #navcontainer li ul li { float:none; margin:0; display:block; } #footer { margin-left: -19px; margin-bottom: -10px; height: 125px; width: 1009px; color: black; position: absolute; bottom: 0; font-size: 10pt; background-image: url('../images/footer.png'); } #footer a { color: #333; font-weight: bold; text-decoration: none; padding: 5px; } #bulk { display: none; } Any ideas? Hi guys and girls, So my issue is this: I added a .gif file to the bottom of my homepage that I'm using as sort of a footer look. It is indented however, despite trying several things. Here is the current code: <img src="22MHF_IMG.gif" width="1008" height="126" alt="" title="" border="0" cellspacing=0 cellpadding=0 align="left" /> I will note that I originally created this page in Coffeecup Visual Designer, lost all my files, and then started editing in Coffeecup HTML Editor and now Notepad ++, so there may be additional code that is interfering with this. Thank you! The site's url: www.movehumanityforward.org Thank you. I have this html page, you may see in the attachment. The body font-size is currently at 70%, this creates indentations for the lines below first line. If I change body font-size to 80%, the indentation is gone. Why is there such indentation if font-size is less than 80%? Thanks. I am running on firefox. I am an HTML n00b and don't understand why this simple example is not working as I would like. I want 2 levels of indentation for list items and then I want the next line to be back at the zero margin. However, the last line is coming out indented as far as the previous list item as though the browser is remembering the margin settings for that item. How do I get the last line back to the zero margin? Code: <html> <head> <style> <!-- p.Standard {margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:0cm; line-height:128%; font-size:11.0pt; font-family:"Calibri","sans-serif";} li.Level1 {margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:0cm; line-height:128%; font-size:11.0pt; font-family:"Calibri","sans-serif";} li.Level2 {margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:1cm; line-height:128%; font-size:11.0pt; font-family:"Calibri","sans-serif";} --> </style> </head> <body lang=EN-AU link=blue vlink=blue style='tab-interval:36.0pt'> <li class=Level1>This is a list item</li> <li class=Level2>This is indented</li> <p class=Standard>I want this back with zero margin</p> </body> </html> I'm attempting to insert a image map menu at the bottom of each page, however for some reason there is a 2-4 pixel gap between the menu and the bottom of the table and I can't figure out why. Here is the URL: http://www.knockoutwebsites4u.com/LSC/index.html Thanks for your help in this matter. Hi I just creating a website skin I have upload he http://autismnetwork.jatos.co.uk/skin/skin.html I need to get rid of that irritating little gap between the bottom of the logo image and the bottom of the logo DIV. if anyone could show me some code thats does that, it'd be much appreciated. Thanks, Jamie ....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>"; ?> Hi everybody I am a new member. I'm not to experienced with css style sheets or html and have a small problem. I have attached code. My website is www.intelligentstudentfinance.com I want to move the banner at the bottom of the financial aid page to the extreme right but not sure what the code is. I have attached the code in txt format and commented the banner I want want moving to the right. Look forward to your replies Thanks Hey, i have a problem with my banner(logo) I want the banner to be at the top, not underneath it. I want it to be centered and at the top, stuck to the border or something, like at http://habblogg.net, here is my site http://habbxtra.net Please help anyone I'm trying to set the following banner up on my site but when I paste the code at the end of the page the banner keeps appearing at the top of the page. Can anybody explain why? <div style="z-index: 110; position: absolute; width: 468px; font-family: arial,sans-serif; background: url("http://outils.acf-webmaster.net/bann...2482.gif") repeat scroll 0% 0% transparent; height: 60px; color: rgb(255, 255, 255); font-size: 12px; top: 26px; left: 34px;"> <div style="position: absolute; line-height: 110%; width: 200px; top: 1px; left: 55px;"> <font xmlns="http://www.w3.org/1999/xhtml"><font xmlns="http://www.w3.org/1999/xhtml"> <font size="1px;"> <strong> <font face="Verdana"> 280 different <a style="color: rgb(255, 255, 2); font-size: 10px;" href="http://www.casinoriva.com/en/" target="_blank">online casino</a> games await for you. </font> </strong> </font> </font></font></div> </div> My site is: h1.ripway.com/shsepac How can I make the banner so there is no space at the top and at the bottom? Hi... In some time I have tried to figure out how to put a banner underneath the red ruler in my myspace profil. I have onlly been able to find a code for putting it on the very top of the site as you kan see on my page: Kasper I would like to have it underneath the red ruler just like it is on this site: www.myspace.com/theasteroidsgalaxytour Does anyone know the code I should use or what I should do? Kasper P.S. Hope you like my music. hey can someone please help i am having trouble with adding a banner when i just to add it the picture does not show what could i be doing wrong??? Hi, I am not sure if I am asking this in the right section, but take a look at this page: http://www.mezzanine.com.mx/contact/ I want to know how the top red banner is implemented. It seems to be an overlay over the main background image with a degree of transparency, is this done in the html, the css or something? If you browse the site you'll see the same throughout and I am sure it is being done on the fly - each image has not had the banner added in photoshop or similar. Any feedback would be appreciated. Many thanks, Rob. I'm creating a banner for the top of my web site whose layout looks roughly like this: http://farm4.static.flickr.com/3098/...d89112.jpg?v=0 I created a div and put a table in it to make these divisions, but there's one problem. There is space between the cells of the table and the div. Padding and margins are set to 0 all around, as well as the table's cell padding. Here's the relevant html: Code: <div class="banner"> <table cellpadding="0"> <tr> <td><img src="assets/images/IMG_0632f.jpg" width="375px" /></td> <td> <table border="1" width="375px"> <tr> <td colspan="3" height="50px"> THE J-SLICE</td> </tr> <tr> <td><img width="75px" height="50px"/></td> <td><img width="75px" height="50px"/></td> <td><img width="75px" height="50px"/></td> </tr> </table> </td> </tr> </table> </div> and the CSS for the div: Code: div.banner { padding: 0px; margin: 0px; background-color: black; border: 1px solid red; color: red; } I'd really like to get the edges of the table right up against the div, and if possible, get the two tds of the main tr directly adjacent as well. Thanks. I'm am looking for the easiest way to create an ad banner rotator for my site. For example, I want to show each ad for like 5 secs and I wrote my site in XHTML. Any ideas or suggestions? |