Does your layout.html include this: {{ response.files.append(URL('static','css/web2py.css')) response.files.append(URL('static','css/bootstrap.min.css')) response.files.append(URL('static','css/bootstrap-responsive.min.css')) response.files.append(URL('static','css/web2py_bootstrap.css')) }}
{{include 'web2py_ajax.html'}} If so, the problem is probably a CSS issue -- there may be a rule in web2py.css or web2py_bootstrap.css that is causing the change in styling. Note, all the response.files.append statements above have no effect unless web2py_ajax.html is included, because that file ultimately calls response.include_files(), which is what actually includes those files. Anthony On Wednesday, March 20, 2013 2:50:45 AM UTC-4, 黄祥 wrote: > > hi, > > i'm trying to create simple customization layout that ends with the result > is not expected : > 1. if i include web2py_ajax.html there will be a space on top of the page. > 2. if i'm not include web2py_ajax.html i can not use markmin, grid, etc. > > is it something wrong in my custom layout? and what i must do to fix my > mistake? > > please find attached files for the result that i've described above. > > thanks a lot in advance > -- --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.