Previous Message
Next Message

IE margin-top problem

Sent by Phillip Cavaco on 12 March 2007 12:12


Hi everyone.
I'm having a problem with margin-top in a div.
Must be something with the float properties under IE.
Can anyone give a quick look please.

XHTML:
<div id="information">
  <h5>Serviços prestados:</h5>
  <ul>
    <li>design</li>
    <li>xHTML</li>
    <li>CSS</li>
    <li>scripting</li>
  </ul>
  <a href="http://www.guedesvidal.pt">visite o website</a>
</div>
<p id="description">
Construímos websites de aspecto atractivo, com conteúdos bem estruturados
e fáceis de usar.  Projectamos uma imagem profissional do seu negócio,
tornando a presença da sua empresa na web mais clara e objectiva.
Interessado?
</p>
<br clear="left" />
<div class="division"></div><----problem is here

CSS:
/* begin of project information */
#information{
    width:200px;
    float:left;
}
        h5{
         margin-top:15px;
         color:#244878;
        }

        #information li{
         padding-left:10px;
         margin-left:15px;
         background:url(images/round_bullet.png) no-repeat 0% 50%;
        }

        #information a{
         display:block;
         margin-top:15px;
         background:url(images/bullet.png) no-repeat 0% 50%;
         padding-left:15px;
         color:#3b76c4;
        }

#description{
     padding-top:15px;
     width:225px;
     float:left;
     text-align:justify;
}

..division{
 width:100%;
 height:1px;
 border-top:#adadad dotted 2px;
 margin:30px 0px 35px 0px;
}


Phillip Cavaco
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: