WSS 3.0. Dataview background color CSS reference tag?

I've created a few dataviews in WSS 3.0 with SharePoint Designer 2007. I'd like to be able to change the color of the data views. The best way would be to find the CSS tag that specifies the visuals of the dataview.

I noticed I can set the background color in SPD2007, however in SPD2007 it only changes the color for one row, and the new color doesn't reflect in the browser. I've ensured that I've saved the file. Nevertheless, changing the color of one row isn't enough; I need to be able to change the whole background off the dataview.

Can anyone directly give me the CSS reference tags or a pointer on how to find them?
SynocusAsked:
Who is Participating?
 
Shailaja KumarCommented:
If you open SPD 2007 and then click on the webpart, in the source view you will be able to find the following tag inside the webpart code segment,
<xsl:if test="position() mod 2 = 1">
     <xsl:attribute name="class">ms-alternating</xsl:attribute>
</xsl:if>
You can remove the ms-alternationg from the above tag, this will set the color for all the rows
0
 
SynocusAuthor Commented:
Alright, all rows get the same background color. I can see this in SharePoint Designer, however when I save it and refresh it in the browser, the background color hasn't changed.

Why doesn't the background color change appear in the browser?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.