Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: table
Hi All,
 
This is my sample design
 
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
 <tr>
    <td>
        <table cellpadding="0" cellspacing="0" border="0" width="80%" align="center">
         <tr>
           <td>
                ***** SOME NONSENSE HERE *****
           </td>
         </tr>
        </table>
    </td>
 </tr>
</table>
 
If i run this It works fine in IE exact Center it is coming
Where as if i run in Mozilla & Chrome It is not getting at center?
What is the reason behind this?
Can any body solve this query?
 
Thanks In Advance,
VenkateshDesaiK.
Posted 8-Mar-13 0:34am
Edited 8-Mar-13 0:37am
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
 <tr>
    <td align="center">
        <table cellpadding="0" cellspacing="0" border="0" width="80%" align="center">
         <tr>
           <td>
                ***** SOME NONSENSE HERE *****
           </td>
         </tr>
        </table>
    </td>
 </tr>
</table>
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 6,045
1 DamithSL 4,601
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,260


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 8 Mar 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100