Мой вопрос: у меня есть текстовый документ, который мне нужно преобразовать как html / css. Как сделать разную маржу на моей первой странице. Спасибо за помощь
Это мой код
<cfcontent type="application/msword">
<cfheader name="Content-Disposition" value="attachment; filename=myDoc.doc">
<html>
<title></title>
<style>
}
@page Section1{
size:8.5in 11.0in;
margin:0in 0in 0in 0in;
mso-paper-source:0;
}
div.Section1{
page:Section1;
}
@page Section2{
size:8.5in 11.0in;
margin:0.5in 0.5in 0.5in 0.5in;
mso-paper-source:0;
}
div.Section2{
page:Section2;
}
div.pageBreak {
page-break-before:always;
</style>
</head>
<body style='tab-interval:.5in'>
<div class="Section1" style="margin: 0in 0in 0in 0in;">
Something page 1
<div class="pageBreak"></div>
</div>
<div class="Section2">
Something page 2
<div class="pageBreak"></div>
</div>
</body>
</html>