Hi Alex, What are you doing with JS to change the background colour of the span? Have you tried adding the background to the span's inline CSS just to see if it does create a black box? Cheers, Lynn -----Original Message----- From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Alex Hall Sent: 18 June 2009 05:08 To: programmingblind@xxxxxxxxxxxxx Subject: box in html? Hi all, I am trying to create a black box on a page. I adjust the color with js, but why does the following html not create the box itself? <span style="height:100; width:100"></span> Thanks. Have a great day, Alex __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind -- DISCLAIMER: NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended recipient you should not use, disclose, distribute or copy any of the content of it or of any attachment; you are requested to notify the sender immediately of your receipt of the email and then to delete it and any attachments from your system. RNIB endeavours to ensure that emails and any attachments generated by its staff are free from viruses or other contaminants. However, it cannot accept any responsibility for any such which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk This message has been scanned for viruses by Websense Hosted Security - http://www.websense.com/content/HostedEmailSecurity.aspx __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind