Solved

float problems with ie

Posted on 2009-06-30
3
205 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
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why is this panel heading creating extra space 2 50
Error in JQuery 5 53
Message not shown 5 50
Problem to refer to value 8 49
Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

777 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