You are here: IE7/FF1.5 differences « HTML « IT news, forums, messages
IE7/FF1.5 differences

Posted by Luis Farzati on 04/17/07 23:06

Hi,

I have a tiny bug in the following code. FF1.5 renders it right, but
IE7 doesn't. To see the issue, please check out with both browsers the
DIV containing the field "Apellido", to which I'm applying a
float:left.

I've first tried applying a display:inline to the DIV, because it made
more sense for me, but didn't work. So I've tried float: left and now
I got it working partially.

I'd appreciate any tip you can give me. Thanks!!

Luis


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>User lfarzati</title>
<style>
.userInfo
{
border-right: 1px dashed #888;
padding-right: 8px;
width: 170px;
}

ul
{
list-style-type: none;
margin-left: 0;
padding-left: 0;
}

li
{
font-family: Tahoma, Arial, Helvetica, sans-serif;
font-size: 8pt;
margin-bottom: 6px;
}

.label
{
display: block;
border-bottom: 1px solid #ddd;
}

.value
{
font-weight: bold;
}

.surname
{
float: left;
margin-right: 12px;
}
</style>
</head>
<body>
<div class="userInfo">
<ul>
<li>
<div><span class="label">Identificador</span><span
class="value">kate</span></div>
</li>
<li>
<div class="surname"><span class="label">Apellido</
span><span class="value">Austen</span></div>
<div class="name"><span class="label">Nombre</
span><span class="value">Kate</span></div>
</li>
</ul>
</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

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