Основы работы с XHTML и CSS


Example.8.51


table {border-collapse:collapse}

table caption {font:bold 14pt; color:#707070}

table td {padding:3px}

.ADDR {text-align:left; background-color:#FFFFFF}

.HEAD {font-weight:bold; text-align:center;

background-color:#A0A0A0; color:#FFFFFF; border:solid 1px}

.NO {width:10%; text-align:center; background-color:#F0F0F0}

.DESC {text-align:left; background-color:#FFFFFF;

border-right:solid 1px; border-left:solid 1px}

.QTY {width:15%; text-align:center; background-color:#FFFFFF;

border-right:solid 1px}

.PRICE {width:15%; text-align:right; background-color:#FFFFFF;

border-right:solid 1px}

.AMOUNT {width:15%; text-align:right; background-color:#F0F0F0}

.SUB {text-align:right; background-color:#F0F0F0}

.TOTAL {font-weight:bold; background-color:#A0A0A0; color:#FFFFFF}

Sales Order

Your Name

Your Address

City, ST 55555

No. Description Quantity Price Amount
11111 Microsoft Windows XP Professional 2 169.99 339.98
22222 Microsoft Office XP Professional 2 449.99 999.98
33333 Adobe Photoshop 7.0 1 579.95 579.95
44444 HP PhotoSmart 7550 Printer 1 299.99 299.99
55555 USB Device Cable 1 5.49 5.49
Shipping 50.00
Sales Tax 155.77
Total $ 2,431.16




Начало  Назад  Вперед



Книжный магазин