html - Why does Opera 9 have a space between these two images? -


every other browser rendering correctly.

<body>     <div>         <div><img src="img/logo_top.png" width="168" height="85" alt="logo top" /></div>         <div><img src="img/logo_bottom.png" width="168" height="83" alt="logo bottom" /></div>     </div> </body> 

it's same thing without divs, , < br /> between images.

update:

here html, doctype:

<!doctype html public "-//w3c//dtd xhtml 1.1//en"     "http://www.w3.org/tr/xhtml11/dtd/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >     <head>         <title>test</title>         <meta http-equiv="content-type" content="text/html; charset=utf-8" />         <style type="text/css">             img {border: none;}             body {font-size: 0px;}         </style>     </head>     <body>         <div>             <div><img src="img/logo_top.png"  alt="logo top" /></div>             <div><img src="img/logo_bottom.png" alt="logo bottom" /></div>         </div>     </body> </html> 

if it's issue think is, should fixed if add css:

img {     vertical-align: top } 

or this:

img {     display: block } 

Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -