Ge64
01-05-2007, 01:41 PM
The last problem was solved, now there's another problem (or 2 actually).
Here comes the code again:
html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" title="default" href="resultstyle.css" />
<title>Untitled Document</title>
</head>
<body>
<ul>
<li class="bg1">
<ul>
<li class="bg1_left">
<a href="/topic/topiccode/pagina"><b>Topic: topic<br />Pagina: page<br />Post: post<br/></b></a>
</li>
<li class="top">
<div style="float: left;">
<a href="/topic/code#pcode" class="body"><b>'Nickname' schreef op Dins 10-4-2009, week 42, 14:53:</b></a>
</div>
<div style="float: right;">
<a href="/topic/47ndbn43/?p=reply&q=Code">Q:DB6<img src="http://www.inkoopactie.net/i/f/q.gif" alt="Citeer bericht in DB6" /></a>
<a href="/topic/g9694tnh/?p=reply&q=Code"><img src="http://www.inkoopactie.net/i/f/q.gif" alt="Citeer bericht in NB2" />Q:NB2</a>
</div>
</li>
<li class="ms">
Message
</li>
<li class="bottom">
<div style="float: left;">
Link: link
</div>
</li>
</ul>
</li>
<li class="bg2">
<ul>
<li class="bg2_left">
<a href="/topic/topiccode/pagina"><b>Topic: topic<br />Pagina: page<br />Post: post<br/></b></a>
</li>
<li class="top">
<div style="float: left;">
<a href="/topic/code#pcode" class="body"><b>'Nickname' schreef op Dins 10-4-2009, week 42, 14:53:</b></a>
</div>
<div style="float: right;">
<a href="/topic/47ndbn43/?p=reply&q=Code">Q:DB6<img src="http://www.inkoopactie.net/i/f/q.gif" alt="Citeer bericht in DB6" /></a>
<a href="/topic/g9694tnh/?p=reply&q=Code"><img src="http://www.inkoopactie.net/i/f/q.gif" alt="Citeer bericht in NB2" />Q:NB2</a>
</div>
</li>
<li class="ms">
Message
</li>
<li class="bottom">
<div style="float: left;">
Link: link
</div>
</li>
</ul>
</li>
</ul>
</body>
</html>
css:
body {
margin : 10px;
border : 0;
}
a {
color : blue;
border : 0;
margin : 0;
padding : 0;
}
b {
color : blue;
border : 0;
margin : 0;
padding : 0;
}
a:hover {
color : blue;
text-decoration : none;
border : 0;
}
img {
border : 0;
}
ul {
list-style : none;
padding : 0;
margin : 0;
width : 800px;
}
ul .bg1 {
background-color : #e6e7ec;
border-style : solid;
border-color : #485780;
border-width : 1px 1px 0 1px;
margin : 0;
padding : 0;
width : 800px;
height: 160px;
display : block;
}
ul .bg2 {
background-color : white;
border-style : solid;
border-color : #485780;
border-width : 1px 1px 0 1px;
margin : 0;
padding : 0;
width : 800px;
height: 160px;
display : block;
}
ul li ul {
list-style : none;
padding : 0;
margin : 0;
}
ul li ul .bg1_left {
display : block;
width : 130px;
height : 160px;
float : left;
padding : 5px;
margin : 0;
border : 0;
border-right : 1px solid #485780;
background-color : white;
}
ul li ul .bg2_left {
display : block;
width : 130px;
height : 160px;
float : left;
padding : 5px;
margin : 0;
border : 0;
background-color : #e6e7ec;
}
ul li ul .top {
display : block;
width : 650px;
height : 25px;
border : 0;
border-bottom : 1px solid #485780;
padding : 0;
margin : 0 5px 5px 5px;
font-size : 12pt;
}
ul li ul .bottom {
display : block;
width : 650px;
height : 25px;
border : 0;
border-top : 1px solid #485780;
padding : 0;
margin : 5px;
font-size : 10pt;
}
ul li ul .tp a {
color : blue;
border : 0;
}
ul li ul .tp a:hover {
color : blue;
text-decoration : none;
border : 0;
}
ul li ul .ms {
display : block;
width : 650px;
height : 90px;
border : 0;
padding : 5px;
margin : 0;
font-size : 12pt;
}
link: http://www.ge64.nl/test1234/test.html
As you may see, when I add a second post it gets shifted to the right in Firefox, or the height isn't correct in IE. I tried adding </ul><ul> between the posts but it doesn't help. I can't seem to find out what's wrong :(
Here comes the code again:
html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" title="default" href="resultstyle.css" />
<title>Untitled Document</title>
</head>
<body>
<ul>
<li class="bg1">
<ul>
<li class="bg1_left">
<a href="/topic/topiccode/pagina"><b>Topic: topic<br />Pagina: page<br />Post: post<br/></b></a>
</li>
<li class="top">
<div style="float: left;">
<a href="/topic/code#pcode" class="body"><b>'Nickname' schreef op Dins 10-4-2009, week 42, 14:53:</b></a>
</div>
<div style="float: right;">
<a href="/topic/47ndbn43/?p=reply&q=Code">Q:DB6<img src="http://www.inkoopactie.net/i/f/q.gif" alt="Citeer bericht in DB6" /></a>
<a href="/topic/g9694tnh/?p=reply&q=Code"><img src="http://www.inkoopactie.net/i/f/q.gif" alt="Citeer bericht in NB2" />Q:NB2</a>
</div>
</li>
<li class="ms">
Message
</li>
<li class="bottom">
<div style="float: left;">
Link: link
</div>
</li>
</ul>
</li>
<li class="bg2">
<ul>
<li class="bg2_left">
<a href="/topic/topiccode/pagina"><b>Topic: topic<br />Pagina: page<br />Post: post<br/></b></a>
</li>
<li class="top">
<div style="float: left;">
<a href="/topic/code#pcode" class="body"><b>'Nickname' schreef op Dins 10-4-2009, week 42, 14:53:</b></a>
</div>
<div style="float: right;">
<a href="/topic/47ndbn43/?p=reply&q=Code">Q:DB6<img src="http://www.inkoopactie.net/i/f/q.gif" alt="Citeer bericht in DB6" /></a>
<a href="/topic/g9694tnh/?p=reply&q=Code"><img src="http://www.inkoopactie.net/i/f/q.gif" alt="Citeer bericht in NB2" />Q:NB2</a>
</div>
</li>
<li class="ms">
Message
</li>
<li class="bottom">
<div style="float: left;">
Link: link
</div>
</li>
</ul>
</li>
</ul>
</body>
</html>
css:
body {
margin : 10px;
border : 0;
}
a {
color : blue;
border : 0;
margin : 0;
padding : 0;
}
b {
color : blue;
border : 0;
margin : 0;
padding : 0;
}
a:hover {
color : blue;
text-decoration : none;
border : 0;
}
img {
border : 0;
}
ul {
list-style : none;
padding : 0;
margin : 0;
width : 800px;
}
ul .bg1 {
background-color : #e6e7ec;
border-style : solid;
border-color : #485780;
border-width : 1px 1px 0 1px;
margin : 0;
padding : 0;
width : 800px;
height: 160px;
display : block;
}
ul .bg2 {
background-color : white;
border-style : solid;
border-color : #485780;
border-width : 1px 1px 0 1px;
margin : 0;
padding : 0;
width : 800px;
height: 160px;
display : block;
}
ul li ul {
list-style : none;
padding : 0;
margin : 0;
}
ul li ul .bg1_left {
display : block;
width : 130px;
height : 160px;
float : left;
padding : 5px;
margin : 0;
border : 0;
border-right : 1px solid #485780;
background-color : white;
}
ul li ul .bg2_left {
display : block;
width : 130px;
height : 160px;
float : left;
padding : 5px;
margin : 0;
border : 0;
background-color : #e6e7ec;
}
ul li ul .top {
display : block;
width : 650px;
height : 25px;
border : 0;
border-bottom : 1px solid #485780;
padding : 0;
margin : 0 5px 5px 5px;
font-size : 12pt;
}
ul li ul .bottom {
display : block;
width : 650px;
height : 25px;
border : 0;
border-top : 1px solid #485780;
padding : 0;
margin : 5px;
font-size : 10pt;
}
ul li ul .tp a {
color : blue;
border : 0;
}
ul li ul .tp a:hover {
color : blue;
text-decoration : none;
border : 0;
}
ul li ul .ms {
display : block;
width : 650px;
height : 90px;
border : 0;
padding : 5px;
margin : 0;
font-size : 12pt;
}
link: http://www.ge64.nl/test1234/test.html
As you may see, when I add a second post it gets shifted to the right in Firefox, or the height isn't correct in IE. I tried adding </ul><ul> between the posts but it doesn't help. I can't seem to find out what's wrong :(