Published in: PHP
have dt and dd inline is done automatically in Firefox, but screws up in IE7. So we need additional css rules, which have to be applied only if IE is used.
Create a news CSS document (iestyles.css): /*Style for IE7*/ #adv-search dl{ margin: 0; padding: 0; } #adv-search dt{ margin: 0; padding: 0; display:inline; } #adv-search dd{ margin: 0; padding: 0; display:inline; float: none; } #adv-search dt+dd{ display:block; } HTML head: <!--[if IE]> <link rel="stylesheet" type="text/css" href="../css/iestyles.css" /> <![endif]-->
You need to login to post a comment.
