You are here: Vertical Gap between DIVs in Opera 8.5 Mac + IE 5.2 Mac « HTML « IT news, forums, messages
Vertical Gap between DIVs in Opera 8.5 Mac + IE 5.2 Mac

Posted by mangm on 11/25/06 11:33

Hello,

I'm using a Mac - when I look at the following HTML from Safari (or
Firefox),
there is no red gap between the centered DIVs Wrapper and Interior.

However, Opera and IE do expose this gap - does anyone know what I'm
doing wrong?
Thanks in advance,
Mike

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html><head><title></title>
<style type="text/css">
body {background-color:red;}
#wrapper {width: 762px; margin: 32px auto 0 auto; background-color:
green;}
#banner {margin-left: 200px;height: 80px;background-color: yellow;
width: 562px;}
#interior {margin: 0 auto; width: 750px; background-color: blue;}
#banner ul {padding: 16px; border: 1px solid green;}
#banner ul li {display: inline;}
</style>
</head>
<body>
<div id="wrapper">
<div id="banner">
<ul><li>Test</li></ul>
</div>
</div>
<div id="interior">Test</div>
</body>
</html>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация