This page's ID: 8653
From: everywhereInsane since: Jun 2002
I've tried googling already, but no luck. How can I access the "color" property of the border of a div I have?
From: Northumberland, EnglandInsane since: Apr 2003
var YourDiv = document.getElementById('Div'); YourDiv.style.borderColor = '#000000'; I think that's it (most css things that use hyphens just get the hyphens removed and the first letter of the second word capitalised) I hope that's what you wanted, if not just do a google search on 'bordercolor' (run together) and it will bring up useful resources. [This message has been edited by smonkey (edited 05-15-2003).]
« Backwards — Onwards »