Connecting Tech Pros Worldwide Forums | Help | Site Map

Problem w/ The Display of Table

Newbie
 
Join Date: Jul 2008
Posts: 6
#1: Sep 3 '08
Hi Friends,

I have problems with the way tables are rendered. I am using "gridview" server control (aspx) and it is rendered differently in Internet Explorer and Firefox. Can any of you look into this and help me identify the issue?

For the gridviews, i assign a CssClass called "grids" and the code for that is

Expand|Select|Wrap|Line Numbers
  1.     <style type="text/css">
  2.     .grids table
  3.     {
  4.         border-color: white;
  5.         border-width: 0px 0px 0px 0px;
  6.     }
  7.  
  8.     .grids td
  9.     {
  10.         border:none;
  11.     }
  12.  
  13.     .grids th
  14.     {
  15.         background-image: url("../images/th_bg2.gif");
  16.     }    
  17.     </style>    
  18.  
Please see the attached picture, first one was rendered in Firefox and the next in IE

Thanks in advance
Karthik
Attached Thumbnails
ss.jpg  

Reply