Hello,
This is the css:
ul
{
float: left; /*Het plaatje van de persoon*/
position: fixed;
margin-left: 20px;
margin-top: 2px;
}
li
{
float: top;
postion: fixed;
margin left: 20px;
margin-top: 5px;
list-style: none;
}
p
{
margin left: 5px;
}
body
{
background-color: #66FF66;
}
And the HTML:
<html>
<head>
<title>Ding</title>
<link rel="stylesheet" type="text/css" href="http://opacity.atspace.com/style2.css">
</head>
<body>
<li>
<img src="http://www.carmelemmen.nl/img/logoCarmelEmmen.gif" width="200" heigth="150" >
<img src="http://www.dogbreedinfo.com/images17/NorthernInuitDogFreya14wks.JPG" width="200" heigth="150" >
<img src="http://www.shoarns.com/Unknown%20bird%20-%20Cincinnatti%20Zoo%20-%20D%20Byrd.jpg" width="200"
heigth="150" >
</li>
<ul>
<img src="http://www.zefhemel.com/upload/2008/02/funny-cat.jpg" width="200" heigth="150">
</ul>
<p>
Text
Text
</p>
</body>
</html>
The <u>l items are supposed to float left, and the <li> items are supposed to float to the top, with text in the middle.
In Internet Explorer, this way I can achieve this result, in Firefox I can't. Even though in the CSS file I put the
float: left;
in the ul, the text will be on the left, and not the image.
What would be the way to fix this?
If you have another suggestion to make some images float left and the others up, it is very welcome.
Thank you.