B
Brian Binnerup
Hi there.
I ran into something funny (well sort of, it's not funny when trying to make
a web application for more than one browser) ;-)
When using the datagrid control I set the cellspacing, cellpadding and
border to 0 in the asp
ataGrid tag, which also renders in the browser in
Internet Explorer. But somehow I found that Firefox still makes a border.
I wondered a bit why until I saw in the code that the table has multiple
border elements - the one I wrote with border=0, and one that the datagrid
renders itself - border=1.
Internet Explorer somehow uses the first attribute, while Firefox uses the
second - and I can't seem to find a way to remove the second one. I have
border: 0px; in the stylesheet also - still I get a 1px black border in
Firefox.
What can a man do? (Don't tell me to throw out Firefox, since this is a
ASP.NET problem IMO).
Regards,
Brian
I ran into something funny (well sort of, it's not funny when trying to make
a web application for more than one browser) ;-)
When using the datagrid control I set the cellspacing, cellpadding and
border to 0 in the asp
Internet Explorer. But somehow I found that Firefox still makes a border.
I wondered a bit why until I saw in the code that the table has multiple
border elements - the one I wrote with border=0, and one that the datagrid
renders itself - border=1.
Internet Explorer somehow uses the first attribute, while Firefox uses the
second - and I can't seem to find a way to remove the second one. I have
border: 0px; in the stylesheet also - still I get a 1px black border in
Firefox.
What can a man do? (Don't tell me to throw out Firefox, since this is a
ASP.NET problem IMO).
Regards,
Brian