text-align-end-ref-016.html (786B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"> 5 <title>text-align: end, pre, dir=auto</title> 6 <link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'> 7 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css"> 8 <style> 9 .ref1, .ref2 { border-inline: 1px solid orange; margin-left: 20px; margin-right: 20px; width: 300px; color: orange; font: 25px/1 Ahem; } 10 .ref1 { border-top: 1px solid orange; margin-top: 20px; text-align: right; } 11 .ref2 { border-bottom: 1px solid orange; margin-bottom: 20px; text-align: left; } 12 </style> 13 </head> 14 <body> 15 <div id='instructions'>Test passes if shading in both orange boxes is identical.</div> 16 <div class="ref1">REF</div> 17 <div class="ref2">ERE</div> 18 <div class="ref1">REF</div> 19 <div class="ref2">ERE</div> 20 </body> 21 </html>