@media print and (width: 10.5cm) and (height: 14.8cm){ @page { margin: 0; } } @font-face { font-family: 'SolaimanLipi'; src: url('SolaimanLipi.ttf') format('truetype'); font-weight: normal; font-style: normal; } body { width: 960px; } .healthId { font-family: SolaimanLipi !important; border-style: solid; width: 9.3cm !important; height: 7.2cm !important; margin-left: 15px; float: left; border-color: #afafaf; border-width: medium; position: relative; box-sizing: border-box; page-break-inside: avoid; } .heading{ padding: 3px 10px 14px 10px; height : 36px; font-size: 11px; border: medium none; border-bottom: groove #eee; line-height: 13px; } .bdgov { display: block; text-align: center; } .eng_name{ font-family: Arial, Helvetica, sans-serif !important; } #hidCard{ text-align: center; font-weight: bold; font-size: 11px !important; } .patient_details { padding: 0px 14px 0px 14px; } .healthId img { float: left; width: 100%; height: 48px; } .label_tag{ font-size:10px; } #english_name{ display: block; clear: both; overflow: hidden; height: 17px; } #bangla_name{ display: block; clear: both; overflow: hidden; height: 14px; padding-top: 2px; font-size:10px; } .name_no_overflow { overflow: hidden; height: 18px; text-overflow: clip; white-space: nowrap; } #name,#nid,#brn,#gender,#dob,#issued{ font-size:10px; display:inline; } #name_tag,#nid_tag,#brn_tag, #gender_tag,#dob_tag,#issued_tag,#address_tag{ display:inline-block; } #dob_and_gender, #nid_and_issued{ display:block; clear: both; overflow: hidden; height: 16px; line-height: 16px; font-size:10px; } .form-field{ width:50%; padding-right:5px; float: left; box-sizing: border-box; } .address_details{ display: block; line-height: 12px; height: 20px; } .address { display:inline; font-size: 11px; } .hid_footer{ padding-bottom: 1px; padding-top: 2px; position: relative; border: medium none; border-top: groove #eee; } .disclaimer{ font-size: 9px; line-height: 14px; padding-top: 3px; text-align: center; position: absolute; bottom: -5px; } #barcode { width: 4cm; height: 25px; margin-top: 5px; padding-left: 0px; padding-right: 0px; margin-left: 3px; margin-right: 0px; float: right; }