This content has been marked as final.
Show 2 replies
-
1. Re: Content at Top of Page
Newsgroup_User Feb 5, 2009 12:15 PM (in response to kodemonki)kodemonki wrote:
> When I create a new page in CF, the topmost image appears near the top, but
> there's about a 10px gap, same problem with text. On apps like Facebook and
> Google the gap is much smaller. Does anyone know how this is defined?
>
> Thanks!
>
Have you styled the html and body nodes? Most browsers have a default
margin or padding on one or both of these. So if you want full control
start your css with something like.
html, body {
margin: 0;
padding: 0;
}
Then you can create what space you desire either here or else where in
your document.
Also be careful of any extraneous whitespace that can be generated with
CFML code. If the above does not work as expected you may have some of
unintended whitespace characters at the top of your page. -
2. Re: Content at Top of Page
kodemonki Feb 5, 2009 12:32 PM (in response to kodemonki)Oh thank you so much; it's PERFECT!

