For 1, I do that :

/*
--------------------------------------------------------------------------
*/
/* In order to allow footer to stick at the bottom even if the page core
   is empty

   Main design come from this tutorial :
http://fvsch.com/code/page-hauteur-100/

   Other help may be find here :

http://stackoverflow.com/questions/11677886/twitter-bootstrap-div-in-container-with-100-height
   http://jsfiddle.net/S3Gvf/
  */

html, body {
    height: 100%;
    font-size: 13px; /* Suggested by Fannie */
    line-height: 19px; /* Suggested by Fannie */
}

.fill {
    position: relative;
    width: 90%;
    margin: 0 auto;
    min-height: 100%;
}

div#footer_row {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 103%;
    height: 7em;
}

div#first_page_element_outside_of_footer {
    margin-top: 60px; /* Required to make sure the header block don't slip
below the fixed-top navbar */
}

div#last_page_element_outside_of_footer {
    margin-bottom: 0;
    padding-bottom: 8em; /* ATTENTION : The amount should contain the
footer! */
}
/*
--------------------------------------------------------------------------
*/

But I had change many other thing to allow footer to stick at bottom too...

Richard


On Tue, Jun 4, 2013 at 10:20 AM, Massimo Di Pierro <
[email protected]> wrote:

> I would like help with two css issues:
>
> 1) In layout.html if there is no response.title, the page content slides
> up and may disappear under the menu banner. Can we prevent this?
>
> 2) In web2py_bootstrap.css I would like to have example code to change the
> colors without changing the bootstrap.css (specifically color of links,
> headers, menu banner, and add a page wide image under the menu banner.
> These seems to be recurrent needs.
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to