More Grantlee trouble - pagination

Martin Long martin at longhome.co.uk
Tue Jan 24 16:05:58 PST 2017


>
>
> martin,
>
> i've spent an hour trying to figure out what's wrong with your template.
> something very odd is happening to the profile DIV and and i can't
> figure out what exactly, but to me it seems like some sort of a CSS
> mess.
> ...and quite frankly i'm not much of a HTML / CSS expert.
>
> i'd suggest you start from scratch based on the 6-dives template.
> modify it so that holds 4 dives per page - "divisibleby:4".
>
> then start bringing back your table layout and styles.
> using version control like GIT is a great idea so that you add changes
> one step at a time and can catch a change that breaks the template.
>
>

Quick update on this. The problem appeared to be the CSS for the body.

body {

padding: 0px;

margin: 0px;

font-family: sans-serif;
}

The above works. Removing (or possibly changing) the "margin" part made it
go wonky.

I may experiment further tomorrow.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20170125/7cd4897d/attachment.html>


More information about the subsurface mailing list