talking about standard welcome, there is some "white space" between the <header> and the <section> tag. A little bit is on the <section>, padding top on .main is 20px (web2py.css, line 42). The other thing to look is on the <header> . It has a margin-top of 60px to counteract the -60px of the body (it's there to keep the navbar inside the viewport). So, can't touch it. However, inside <header> there's <div class="page-header">. That has margins both on top and on bottom (20px and 30px). Overriding those leaves no additional "white space". Tune as you like.
On Tuesday, November 27, 2012 10:30:44 PM UTC+1, Cliff Kachinske wrote: > > Did that all morning. Couldn't find the right element to touch. > > On Tuesday, November 27, 2012 3:11:41 PM UTC-5, Niphlod wrote: >> >> just inspect the header with something like firebug and see what of your >> css doesn't "override" the default style. Honestly, I couldn't live without >> tools like firebug.... >> >> On Tuesday, November 27, 2012 6:26:05 PM UTC+1, Cliff Kachinske wrote: >>> >>> Can anyone tell me how to reduce the vertical white space at the bottom >>> of the <header> element that appears in layout.html when rendered? I think >>> it's bottom padding, but I'm not sure. >>> >>> I've been tuning the style of some elements with custom style sheet >>> using @media screen, but I can't seem to find what controls the height for >>> the header. >>> >>> I've added this line to my layout.html after the default appends. I >>> think that means my css will override the preceding ones. Is that correct? >>> {{response.files.append(URL('static','css/base_plus.css'))}} >>> >>> >>> --