1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

javascript inserts images how do I style these?

Discussion in 'HTML & JavaScript' started by icosane, May 23, 2011.

  1. icosane

    icosane Newbie

    Joined:
    Jan 7, 2011
    Messages:
    47
    Likes Received:
    0
    I'm working on a website that uses jsMath, which is a javascript app that changes code to math fonts and images.

    The problem is when I have this code in a link, the font images that are inserted have an ugly blue underline.

    This is confusing because I have my css set up so that images that are part of a link have no border, no style properties etc.

    What the hell is going on and how can I fix this? Its driving me insane!

    thanks :D
     
  2. μελαγχολία

    μελαγχολία Junior Member

    Joined:
    Jul 16, 2010
    Messages:
    198
    Likes Received:
    25
    Location:
    Somewhere over the rainbow
    Home Page:
    I'm not familiar with jsMath but posting some code should make it easier to help you. The only thing that comes to my mind, since you've set images which are part of a link to have no style, is that this library adds a specific class to the img tags like "class='jsmath'" which adds those styling properties to them.
     
    • Thanks Thanks x 1
  3. icosane

    icosane Newbie

    Joined:
    Jan 7, 2011
    Messages:
    47
    Likes Received:
    0
    I've considered that but can't figure out what the class tag is. It isn't stated in the documentation that came with the script. When I click on "view source" to look at the html, it shows the code I entered, not the images displayed.

    Anyone have any clue what I could do? I'm not a programmer so I don't even know where to look for this info.