View Single Post
Old 11-11-2016, 05:41 PM   #1
rjwse@aol.com
Addict
rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.
 
rjwse@aol.com's Avatar
 
Posts: 331
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
pdf header reference to css

I have an extremely long pdf header instruction which puts a colored frame around the header:
<div style=" background-color: #ffc;
border: black solid 2pt;
border-radius: 10px;
display: block;
width:max; font-size: 0.75em;
font-weight: bold;
margin: 0 2em 0 0;
line-height: 1;
padding: 1%;
text-indent: 0; <p style="float:left">_TITLE_<p style="float:right;">by _AUTHOR_ <p></p><p></p></div>

I copied most of it from my CSS:
f {
background-color: #ffc;
border: black solid 2pt;
border-radius: 10px;
display: block;
float: left;
font-size: 0.75em;
font-weight: bold;
margin: 0 2em 0 0;
line-height: 1;
padding: 1%;
text-indent: 0;
}

Would it be possible to wrap the text within the header with <f></f> with some sort of reference to the CSS?

Best regards, Pop
Attached Files
File Type: pdf 1.pdf (51.5 KB, 173 views)
rjwse@aol.com is offline   Reply With Quote