By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,466 Members | 1,158 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,466 IT Pros & Developers. It's quick & easy.

Invalid Argument in IE but working properly in Mozilla

dmjpro
100+
P: 2,476
I am trying 2 change the styles of a cell.

Expand|Select|Wrap|Line Numbers
  1. Cell_Ref.style['borderWidth'] = 'solid';
  2. Cell_Ref.style['borderLeft'] = 'hidden';
  3. Cell_Ref.style['borderRight'] = 'hidden';
  4.  
Now these three lines are working properly in Mozilla but not in IE.
It's saying invalid argument ...Why?
Jan 5 '09 #1
Share this Question
Share on Google+
3 Replies


P: 88
Using 'none' instead of 'hidden' works in both browsers.
Expand|Select|Wrap|Line Numbers
  1. Cell_Ref.style['borderLeft']='none';
  2.  
Jan 5 '09 #2

P: 88
http://reference.sitepoint.com/css/border-style
Internet Explorer for Windows versions up to and including 7:

* don’t support the value hidden
* don’t support the value inherit
Jan 5 '09 #3

gits
Expert Mod 5K+
P: 5,390
@dmjpro
because IE just doesn't comply to standards and therefor just sucks ...

kind regards
Jan 5 '09 #4

Post your reply

Sign in to post your reply or Sign up for a free account.