Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: jcphua
  • Content: Threads
  • Order by date
  1. jcphua

    Workaround for Opera 7 and document.styleSheets[...?

    Wondering whether anybody knows a workaround for Opera 7 to be able to reference CSS files via JavaScript. eg. IE5+: alert(document.styleSheets); alert(document.styleSheets[0]); alert(document.styleSheets[0].rules); alert(document.styleSheets[0].rules[0])...
  2. jcphua

    Javascript reference to CSS item returns null?

    Here's a simple example of the problem I have: <html> <head> <title></title> <style> div#eg1 { background-color: red; } </style> <link href=&quot;./eg3.css&quot; rel=&quot;STYLESHEET&quot;></link> <!-- div#eg3 { background-color: orange; } --> </head> <body> <div id=&quot;eg1&quot;>1...

Part and Inventory Search

Back
Top