Solved

float problems with ie

Posted on 2009-06-30
3
213 Views
Last Modified: 2013-11-19
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.

www.webcube.com.br/cja/eventos/

Im Brazilian, sorry the bad english ;x
Regards,
Stewan.
<table width="738" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="521" valign="top" style="padding-right: 15px;"><table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <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>
        </tr>
      </table></td>
      <td width="217" rowspan="2" align="center" valign="top" >{include file="right.tpl"}</td>
    </tr>
    <tr>
      <td valign="top" style="padding-right: 15px; padding-left: 15px;">
      
      {if !$subPage }
            
            {section name=linha loop=$Eventos}
<p>
  <strong>" {$Eventos[linha].titulo} ({$Eventos[linha].data})</strong><br />
	<a href="/{$app_folder}/eventos/{$Eventos[linha].id}/">{$Eventos[linha].texto}</a>
</p><br />
{/section}
 
      {/if}
      
      
    
        
     </td>
    </tr>
  </table>

Open in new window

0
Comment
Question by:Stewones
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 42

Accepted Solution

by:
David S. earned 500 total points
ID: 24749074
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?
http://www.hotdesign.com/seybold/
0
 
LVL 58

Expert Comment

by:Gary
ID: 39366302
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Flex container exceeding stated width in IE11 4 27
removing a class in javascript 4 74
Bootstrap list items overlap 3 38
Can't get js code to execute 8 32
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question