{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/respec/issues/479","labels_url":"https://api.github.com/repos/w3c/respec/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/w3c/respec/issues/479/comments","events_url":"https://api.github.com/repos/w3c/respec/issues/479/events","html_url":"https://github.com/w3c/respec/issues/479","id":103270404,"number":479,"title":"Encapsulating the content into a <main> element?","user":{"login":"iherman","id":520723,"avatar_url":"https://avatars.githubusercontent.com/u/520723?v=3","gravatar_id":"","url":"https://api.github.com/users/iherman","html_url":"https://github.com/iherman","followers_url":"https://api.github.com/users/iherman/followers","following_url":"https://api.github.com/users/iherman/following{/other_user}","gists_url":"https://api.github.com/users/iherman/gists{/gist_id}","starred_url":"https://api.github.com/users/iherman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iherman/subscriptions","organizations_url":"https://api.github.com/users/iherman/orgs","repos_url":"https://api.github.com/users/iherman/repos","events_url":"https://api.github.com/users/iherman/events{/privacy}","received_events_url":"https://api.github.com/users/iherman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/w3c/respec/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-26T13:29:26Z","updated_at":"2015-09-12T02:05:12Z","closed_at":null,"body":"I generate an EPUB3 version of the TR document produced by respec. Unfortunately, there are discrepancies among epub readers; one is that they artificially set zero padding on the body element. (This is the case with Kobo or with the iBook readers of Apple.) This means the logo on the header area is overwritten by the content.\r\n\r\nOne way of getting around that, which I believe would be useful for other post-processing facilities, is to encapsulate the whole content of the document in a `<main>` element (which would also make sense logically, so to say). That means the styling of the post-processed content could become easy."},"comment":{"url":"https://api.github.com/repos/w3c/respec/issues/comments/139702156","html_url":"https://github.com/w3c/respec/issues/479#issuecomment-139702156","issue_url":"https://api.github.com/repos/w3c/respec/issues/479","id":139702156,"user":{"login":"marcoscaceres","id":870154,"avatar_url":"https://avatars.githubusercontent.com/u/870154?v=3","gravatar_id":"","url":"https://api.github.com/users/marcoscaceres","html_url":"https://github.com/marcoscaceres","followers_url":"https://api.github.com/users/marcoscaceres/followers","following_url":"https://api.github.com/users/marcoscaceres/following{/other_user}","gists_url":"https://api.github.com/users/marcoscaceres/gists{/gist_id}","starred_url":"https://api.github.com/users/marcoscaceres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcoscaceres/subscriptions","organizations_url":"https://api.github.com/users/marcoscaceres/orgs","repos_url":"https://api.github.com/users/marcoscaceres/repos","events_url":"https://api.github.com/users/marcoscaceres/events{/privacy}","received_events_url":"https://api.github.com/users/marcoscaceres/received_events","type":"User","site_admin":false},"created_at":"2015-09-12T02:05:12Z","updated_at":"2015-09-12T02:05:12Z","body":"@iherman, how about I include the `main` element at save time for ePub files? That should at least cover your use case. Also, can you give me the CSS rule (padding? margin?) you for `<main>` that will work best for you?  "}}