I make up such a layout
The footer is pressed to the bottom of the page, in the footer there are two divas, one is pressed to the left and the other to the right. It is impossible to set the correct positioning for the right diva. Code such
<body> <div id="header"></div> <div id="content"></div> <div id="footer"> <div id="1"> <p>text</p> </div> <div id="2"> <p>text</p> </div> </div> </body>
styles
body { background: #FFFFFF; color: #000000; font-family: Arial, sans-serif; max-width: 210mm; width: 210mm; max-height: 297mm; height: 297mm; position: relative; } div#content { padding:0 10mm 20mm 10mm; } div#footer { height: 15mm; position: absolute; bottom: 0; padding:0 10mm; color: #808080; } div#1 { float: left; font-size: 10pt; } div#2 { font-size: 7pt; position: absolute; }
Right div superimposed on the left. Tell me how to set the correct positioning for the second diva, so that he was pressed to the right edge?