CSS/JS Help Needed
CSS/JS Help Needed
- Started
- Last post
- 9 Responses
- ILuvSushi
Can I call a linked stylesheet style in javascript code?
- JazX0
you should be able to if you set it up right
- jevad0
google is your friend:
- JazX0
yep
- ILuvSushi0
What Im trying to do is:
- jevad0
damn that looks dope
- ILuvSushi0
What Im trying to do is:
var beforeMsg = [B][font face=Arial, Helvetica, sans-serif size=-2 color=];
Im wanting the beforemsg to call p class=bluecell
that calls the CSS style sheet.
and its not wanting to work :(
- ILuvSushi0
right now to get the font right i have to code it maually with the font tags..im just wanting to call the p class=bluecell
- gabriel_pc0
shouldn't be using font tags at all. If you're just trying to change the class of an object, the syntac is [object].className = "newclass". If you could post a link, that'd help in diagnosing what's going on.