Hi all,
I am adding code to a SharePoint 2007 list where I want a calculated field to be a colored square based on a status column. I have all the code I need to create a colored round bullet, but I would like the bullet to be square or a rectangle. I was not able to find a repalcement for the "bull" in the below code.

arr[i].innerHTML = "<DIV title='Long Term Focus' style='font-weight:bold; font-size:24px; color:green'>&bull;</DIV>";

Thanks in advance,
Joe

Thanks for the response. I am a newbie, what would I change in my code that will produce a colored square instead of the colored circular bullet?

Change the "bullet;" with "#9632;" (leave the & alone).

I thought that it was pretty obvious ;) but anyway here it is:

<DIV title='Long Term Focus' style='font-weight:bold; font-size:24px; color:green'>&#x25A0;</DIV>

~G

Thank you!! Now you all know how much of a newbie i really am :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.