c# - GridView doesn't apply css in Firefox and IE -
my issue following - put colored text in 1 of gridview cells:
e.row.cells[4].attributes.add("style", "color: green"); e.row.cells[4].text = "some text"; it colors right , bottom border of cell [4]. tried putting black border color though cssclass on gridview, put bordercolor property on rowstyle in gridview properties, put code, right below upper code - line:
gridview1.attributes.add("style", "border-color: black"); none of 3 solutions color right , bottom borders.
anyone has solution?
thanks lot.
if using firebug firefox, inspect table , @ html output. able style according that.
table tr td{border:1px solid black}
Comments
Post a Comment