/ 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.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 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]> <![endif]-->
Comments
                    Subscribe to comments
                
                