Re: Like Excel FREEZE Pane in php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add this line above the table and the overlapping will end and it looks exactly like excel. Its rough idea. Just adjust pixels and it will perfectly

<iframe style="width:190px; height:38px; position:fixed; background-color:#FFFFFF;border:hidden "></iframe>
--- In php-objects@xxxxxxxxxxxxxxx, Davide Baglieri <davidonzo@...> wrote:
>
> <table border=1>
> <tr style="position:fixed;">
>   <th style="width:35px; height:35px;">A</th>
>   <th style="width:35px; height:35px;">B</th>
>   <th style="width:35px; height:35px;">C</th>
>   <th style="width:35px; height:35px;">D</th>
> </tr>
> <tr>
>   <td style="width:35px; height:35px;"></td>
>   <td style="width:35px; height:35px;"></td>
>   <td style="width:35px; height:35px;"></td>
>   <td style="width:35px; height:35px;"></td>
> </tr>
> <?php for($i=0; $i<=100;$i++):?>
> <tr>
>   <td style="width:35px; height:35px;"><?php echo $i ?></td>
>   <td style="width:35px; height:35px;"><?php echo $i ?></td>
>   <td style="width:35px; height:35px;"><?php echo $i ?></td>
>   <td style="width:35px; height:35px;"><?php echo $i ?></td>
> </tr>
> <?php endfor;?>
> </table>
> 
> Use CSS to obtain something similar
> 
> On Thu, May 28, 2009 at 3:17 PM, Ganzorig Ulziibat <ganzo_u@...> wrote:
> >
> >
> > Hello experts.
> >
> > I have very large table in my php code. but it's very hard to search items.
> > i have to need freeze one top row and one left column like Microsoft office
> > excel. How to do it?
> >
> > thanks
> >
> > Ganzo.
> >
> > [Non-text portions of this message have been removed]
> >
> >
>



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux