I am creating a HTML table on a asp.net page with c# as my language.
everything is working as i want in firefox but internet explorer is a horror film.
I append the style with the following code:
I've attached screenshots of the output from ff and ie. How it appears in firefox is what I want, so any tips on how I can get ie to do the same?
everything is working as i want in firefox but internet explorer is a horror film.
I append the style with the following code:
Code:
table.Style.Add("border-spacing", "0px");
table.Style.Add("padding", "0px");
table.Style.Add("background-color", "lightyellow");
table.Style.Add("border-width", "5px");
table.Style.Add("border-style", "solid");
table.Style.Add("border-color", "white");
table.Style.Add("width", "95%");
table.Style.Add("margin", "auto");
table.Style.Add("border-radius", "15px");
table.Style.Add("border-collapse", "separate");
table.Style.Add("text-align", "center");
Comment