Forums » Installation

css for footer not cooperating!

felixfeely
AUSTRALIA
2010-08-23 11:58:46
Permalink Post
 

Hi indexhibitors,

I'm stuck I have read all the css info and recomended a lot of the W3 schools website too.

Does anyone know why my css for my footer and footerwrapper won't work? I am trying to fix the black box to the bottom of the page and float the words about contact over the top of it.

With thanks.

Example page felixfeely/logo

html:











felixfeely
AUSTRALIA
2010-08-23 12:07:34
Permalink Post
 

sorry my html is:

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
  3.     <head>
  4. ¬†¬†¬†¬†¬†¬†¬†¬†<!-- I suggest modifying these to suit your needs. Add your own content. -->
  5. ¬†¬†¬†¬†¬†¬†¬†¬†<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
  6. ¬†¬†¬†¬†¬†¬†¬†¬†<meta http-equiv="content-language" content="en" />
  7. ¬†¬†¬†¬†¬†¬†¬†¬†<meta http-equiv="imagetoolbar" content="no" />
  8. ¬†¬†¬†¬†¬†¬†¬†¬†<meta name="robots" content="follow" />
  9. ¬†¬†¬†¬†¬†¬†¬†¬†<meta name="rating" content="general" />
  10. ¬†¬†¬†¬†¬†¬†¬†¬†<meta name="author" content="<% obj_name %>" />
  11. ¬†¬†¬†¬†¬†¬†¬†¬†<meta name="Copyright" content="Copyright ¬© <? echo date'Y' ?> <% obj_name %>." />
  12. ¬†¬†¬†¬†¬†¬†¬†¬†<meta name="description" content="" />
  13. ¬†¬†¬†¬†¬†¬†¬†¬†<meta name="keywords" content="" />

         //

        
        
        
        
        
        
        
        
            path = '/files/gimgs/';
            $(document).ready(function() {
                setTimeout('move_up()', 1);
            });
        
        
        

        
        
    

    

        

        
            
            
            
        
            
                
                    
                
            
        







        
            $("body").css( "overflow" , "hidden" ); // this will remove the scrollbars from the body...
            $("#content").draggable({}); // and this makes the content div draggable. If you don't want the opacity to change just remove everything between { ... }
        

        

felixfeely
AUSTRALIA
2010-08-23 12:08:53
Permalink Post
 

and css:

/**
* CSS
*
* @version Down Quark 1.0
* @author Derek Kinsman // Unttld
*/
* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
}

body {
    background: #fff;
    color: #231f20;
    font: 0.625em/1em 'helvetica neue', helvetica, arial, sans-serif;
}

body.section-1 { }
body.section-2 { }
body.section-3 { }

a { font-style: normal !important; outline: none; }
a:link { color: #ec008c; text-decoration: none; }
a:active { color: #ec008c; text-decoration: underline; }
a:visited { color: #ec008c; text-decoration: none; }
a:hover { color: #ec008c; text-decoration: underline; }

a img { border: none; }

p, ul {
    font-size: 1em;
}

h1 { font-size: 1.8em; font-weight: bold; }
h2 { font-size: 1.6em; font-weight: bold; }
h3 { font-size: 1.4em; font-weight: normal; }
h4 { font-size: 1.2em; font-weight: normal; }
h5 { font-size: 1em; font-weight: bold; }
h6 { font-size: 1em; font-style: italic; }

span.header {
    font-size: 2em;
    font-weight: bold;
    line-height: 1em;
}

#menu {
    background-image: url(../_img/menu_bkgd.png);
height: 400px;
    left: 10px;
    margin: 66px 11px 0 0;
overflow: auto;
    padding: 10px 0 0 0;
position: fixed;
top: 10px;
width: 145px;
    z-index: 9999;
    
}

#menu ul {
    font-style: italic;
    list-style: none;
    margin: 0 0 10px 0;
}

#menu ul li { text-transform: lowercase; }
#menu ul li.section-title { text-transform: uppercase; }

#content {
    margin: 76px 58px 45px 76px;
    z-index: 1;
}

#content img {
    border: 1px solid #231f20;
    cursor: move;
}

#content p {
    cursor: move;
    margin-bottom: 10px;
    width: 300px;
}

#once { clear: left; }

#footer {
    height: 40px
    position: absolute; bottom: 0;
    z-index: 9999;
    
}

#footerwrapper {
    position: relative;

}

felixfeely
AUSTRALIA
2010-08-23 12:27:32
Permalink Post
 

oops - I apologise - wrong forum.

arsondpi A
GREECE
2010-08-23 13:45:04
Permalink Post
 

Please do not double post.
It's not useful for others searching this forum...

I came up with a solution and then I realised: you don't have a link back to this site!!!
Cmon' man... please read the forum rules!

felixfeely
AUSTRALIA
2010-08-24 12:09:16
Permalink Post
 

Oh my goodness now I see what you mean! Still trying to learn the ropes so originally deleted pre and post nav to see what happened to the page- apologies.

felixfeely
AUSTRALIA
2010-08-25 15:06:46
Permalink Post
 

I have just tried this css (below)and html from here, it has moved the footer but it seems to be sitting behind the background image at the top of the page. Hmmm?

  1. * {
  2. ¬†¬†¬†¬†margin: 0;
  3. }
  4. html, body {
  5. ¬†¬†¬†¬†height: 100%;
  6. }
  7. .wrapper {
  8. ¬†¬†¬†¬†min-height: 100%;
  9. ¬†¬†¬†¬†height: auto !important;
  10. ¬†¬†¬†¬†height: 100%;
  11. ¬†¬†¬†¬†margin: 0 auto -142px; /* the bottom margin is the negative value of the footer's height */
  12. }
  13. .footer, .push {
  14. ¬†¬†¬†¬†height: 142px; /* .push must be the same height as .footer */
  15. }

Showing 1 - 7 of 7 posts in Forum > Installation > css for footer not cooperating!
 

You need to be logged in to post.