Quote:
Originally Posted by DNSB
You may also want to look at where you are using margin-left: auto; and margin-right: auto; for centering. Quite a few renderers especially those based on Adobe's ADE/RMSDK renderers will not work. A simple text-align: center; will work. I would also dump the text-align: justify to allow the reader to choose whether they want to justify or left align text. A quick and dirty pass at this:
|
When you have a text-align: center; you should also have a text-indent: 0; Also, when you put the text-align: justify; in the body style, you justify the text, but you also allow programs that have a justify override to work.
Code:
@font-face {
font-family: "SmallCaps";
font-weight: bold;
font-style: normal;
font-variant: small-caps;
src: url(../Fonts/Fontin-SmallCaps.otf);
}
@font-face {
font-family: "Tahoma";
font-style: normal;
font-weight: normal;
src: url(../Fonts/tahoma.ttf);
}
@font-face {
font-family: "Verdana";
font-style: normal;
font-weight: normal;
src: url(../Fonts/verdana.ttf);
}
a {
color: #039;
text-decoration: none;
}
body {
widows: 1;
orphans: 1;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
text-align: justify;
}
.center {
background-color: #fff;
padding: 0.7em;
border: 0.2em ridge #ccc;
border-radius: 20px;
width: 60%;
}
.centro {
margin-left: auto;
margin-right: auto;
margin-top: 3%;
}
.poema1 {
font-family: Verdana, sans-serif;
text-align: left;
margin: 0 1em 0 3em;
text-indent: -2em;
}
.poema2 {
font-family: Verdana, sans-serif;
text-align: left;
text-indent: 2em;
}
.prosa1 {
font-family: Verdana, sans-serif;
text-indent: 0;
line-height: 1.5em;
}
.prosa2 {
font-family: Verdana, sans-serif;
text-align: justify;
text-indent: 1em;
line-height: 1.5em;
}
.quote {
padding: 1em;
border-left: 0.3em solid;
background-color: #d3d3d3;
}
.reduz {
margin-bottom: 1em;
text-align: center;
text-indent: 0;
border: 0.5em ridge #ccc;
border-radius: 20px;
width: 50%;
}
.rodape {
margin-top: 0;
margin-bottom: 5%;
display: block;
text-align: center;
text-indent: 0;
}
div.divisa {
margin-top: 30%;
}
.titulo {
font-family: "SmallCaps", sans-serif;
font-size: 1.4em;
font-weight: bold;
font-variant: small-caps;
text-align: left;
margin-top: 1em;
margin-bottom: 1em;
}
img.vinheta {
float: left;
margin: 0 10px 5px 10px;
}
p.margem {
margin: 0.75em 0 0;
}
p.rosto {
font-family: "SmallCaps", sans-serif;
margin-top: 10%;
line-height: 2em;
font-size: 1.6em;
font-weight: bold;
text-align: center;
text-indent: 0;
}