Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Corbin052198

macrumors 6502
Original poster
Mar 13, 2010
285
0
Is there any way to attach a CSS file using JavaScript? Maybe something like this:

Code:
document.write="*CSS TAG*"
All I need is a JavaScript action that loads a external CSS stylesheet file.

Is this even possible?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.