Thread: page border
View Single Post
Old 06-08-2013, 11:57 AM   #1
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
page border

Hi

I am about to begin work on an old book which has a thin double border around all its pages. (see screenshot). I'd like to replicate this without wasting too much space if possible. Inside this border, I will of course insert images, text, well, everything.

Would some @page in the style-sheet with border attributes be OK for this task or is there a better solution?

EDIT

After looking at W3School, it seems that

body {
border-style:double
border-width:3px;
border-color: (...);
}

will do the trick. I can add margin outside and padding inside.
Attached Thumbnails
Click image for larger version

Name:	border.png
Views:	244
Size:	81.6 KB
ID:	106776  

Last edited by roger64; 06-08-2013 at 01:07 PM.
roger64 is offline   Reply With Quote