28173 sujets

CSS et mise en forme, CSS3

Bonjour j'ai le code suivant :

<table class="tablebg" width="100%" cellspacing="1">
<tr>
	<td class="cat" colspan="6"><h4><img class="nav_img" onload="fixPNG(this)" src="./styles/QcFL2/theme/images/comments.png" width="16" height="16" alt="" />&nbsp;<a href="./viewforum.php?f=2&amp;st=0&amp;sk=t&amp;sd=d&amp;start=0">Test Forum 1</a></h4></td>
</tr>
<tr>
	<th colspan="2">&nbsp;Topics&nbsp;</th>
	<th>&nbsp;Author&nbsp;</th>
	<th>&nbsp;Replies&nbsp;</th>
	<th>&nbsp;Views&nbsp;</th>
	<th>&nbsp;Last post&nbsp;</th>
</tr>
<tr>
	<td class="th" colspan="6"><img class="nav_img" onload="fixPNG(this)" src="./styles/QcFL2/theme/images/exclamation.png" width="16" height="16" alt="" />&nbsp;<b class="gensmall">Announcements</b></td>
</tr>
<tr>
	<td class="row1" width="25px" align="center"><img src="./styles/QcFL2/imageset/announce_read_mine.gif" width="19" height="18" alt="No new posts" title="No new posts" /></td>
	<td class="row1">
		<a href="./viewtopic.php?f=2&amp;t=3" class="topictitle">Global</a>
		<a href="./mcp.php?i=reports&amp;mode=reports&amp;f=2&amp;t=3&amp;sid=e162c20c32d92831b49b8745e5bf318f"><img src="./styles/QcFL2/imageset/icon_topic_reported.gif" width="19" height="18" alt="This topic has been reported" title="This topic has been reported" /></a>&nbsp;
	</td>
	<td class="row2" width="100px" align="center"><p class="topicauthor"><a href="./memberlist.php?mode=viewprofile&amp;u=2" style="color: #AA0000; font-weight: bold;">Theberge43</a></p></td>
	<td class="row2" width="50px" align="center"><p class="topicdetails">0</p></td>
	<td class="row2" width="50px" align="center"><p class="topicdetails">4</p></td>
	<td class="row1" width="140px" align="center">
		<p class="topicdetails" style="white-space: nowrap;">Sat Jan 06, 2007 12:18 pm</p>
		<p class="topicdetails"><a href="./memberlist.php?mode=viewprofile&amp;u=2" style="color: #AA0000; font-weight: bold;">Theberge43</a>						<a href="./viewtopic.php?f=2&amp;t=3&amp;p=3#p3"><img src="./styles/QcFL2/imageset/page_go.gif" width="16" height="16" alt="View latest post" title="View latest post" /></a></p>
	</td>
</tr>


Bon j'ai mis les premières lignes mais le tout se répête ...

Sous FF pas de problème :
http://img441.imageshack.us/img441/5759/ffeh1.jpg

Par contre sous IE6 les largeurs ne sont pas bonnes :
http://img441.imageshack.us/img441/5452/iest2.jpg

Pkoi ? Merci !
J'ai peut-être pas raison, sachant que ça fait 10 ans que j'ai pas fait de tableaux, mais on ne met jamais "px" après une longueur (sauf en CSS) :
a écrit :
The value (%Pixels; in the DTD) is an integer that represents the number of pixels of the canvas (screen, paper). Thus, the value "50" means fifty pixels.


Peut-être une piste ?
Modifié par FlorentG (09 Jan 2007 - 23:24)