float problems with ie

Hello there!

in firefox the style float:right work perfect in the <td> structure of my pagination (1,2..) , but, in ie this not work.

in the code, this is the line for pagination
<td width="40%" valign="top" style="padding-top: 30px; float: right;"> {$p->show()}</td>

obs¹ im using the template engine Smarty
obs² {$p->show()} is output for my pagination.


Im Brazilian, sorry the bad english ;x
<table width="738" border="0" cellpadding="0" cellspacing="0">
      <td width="521" valign="top" style="padding-right: 15px;"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <td width="40%" valign="top"><img src="/{$app_folder}/images/title_eventos.png" /></td>
          <td width="40%" valign="top" style="padding-top: 30px; float: right;"> {$p->show()}</td>
          <td width="20%" align="right" valign="middle">{$voltar}</td>
      <td width="217" rowspan="2" align="center" valign="top" >{include file="right.tpl"}</td>
      <td valign="top" style="padding-right: 15px; padding-left: 15px;">
      {if !$subPage }
            {section name=linha loop=$Eventos}
  <strong>" {$Eventos[linha].titulo} ({$Eventos[linha].data})</strong><br />
	<a href="/{$app_folder}/eventos/{$Eventos[linha].id}/">{$Eventos[linha].texto}</a>
</p><br />

Open in new window

Who is Participating?
David S.Connect With a Mentor Commented:
IE5-7 don't support the float property on table-cells.

Are you aware that there are better ways to code a page than to use nested tables for layout?
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.