Closed Bug 446237 Opened 16 years ago Closed 16 years ago

Setting DIV Border Style (Color) via JavaScript Fails

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: admin, Unassigned)

References

()

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

Setting border style via JavaScript fails in 3.0.1 

div.style.border = 'solid #FF00033 1 px;'

See example URL above - color should display red border.

Reproducible: Always

Steps to Reproduce:
1.set div border style in javascript
2.see example url
3.
Actual Results:  
div.style.border = 'solid #FF00033 1 px;' does not result in updated border color.

Expected Results:  
color should change

near certain this functioned properly in Firefox 3.0.0, definitely worked in 2.0 and IE
remove the ';' at the end of the string
swear we'd tried ... but that did it - thanks!
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.