Quote:
Originally Posted by jezzad
Code:
html { border: 0; margin:0; }
body { border: 0; margin:0; background-color:rgb(0,0,0);}
@page { border: 0; margin:0; }
p { text-align: center; margin: 0; padding: 0; text-indent: 0 }
Does this look OK ? Thanks for the help so far and for bearing with me...!
|
Yes, it looks a lot better. Now for the CSS. You don't need @page if you aren't actually setting anything with it. Padding and the background color can go as well as html. You should not center p and the text indent should not be 0 in p.
Code:
body {
margin: 0;
widows: 0;
orphans: 0
}
p {
text-align: justify
margin: 0;
text-indent: 1.2em
}
.center {
margin: 0;
text-align: center;
text-indent: 0
}
Code:
<p class="center"><img alt="" src="../Images/myimage.jpg" width="100%" /></p>