HTML override

Discussion in 'HTML and CSS' started by FlutterYay, Jan 9, 2012.

  1. FlutterYay

    FlutterYay

    Joined:
    Jan 9, 2012
    Messages:
    2
    Likes Received:
    0
    I'm looking at this part of HTML/Source coding in my chrome element inspector. (Shown below) and I'm wondering if there is a way to override this div class so the image changes.
    As a moderator we have access to source code at the bottom of the page, but we cannot modify any of the actual source code directly, we can only add new codes at the bottom. Is it possible to locate and overwrite this script through CSS or some sort of script?

    ...
    ...
    ...
    <div id="st-descr"><div class="banner"><img class="hide" original-src="http://fc00.deviantart.net/fs71/i/2011/364/6/8/character_banner__fluttershy_by_dylandylan72-d4ks6yi.png" src="http://fc00.deviantart.net/fs71/i/2011/364/6/8/character_banner__fluttershy_by_dylandylan72-d4ks6yi.png" style="display: inline; "></div>
    ...
    ...
    ...
     
    FlutterYay, Jan 9, 2012
    #1
    1. Advertisements

  2. FlutterYay

    FlutterYay

    Joined:
    Jan 9, 2012
    Messages:
    2
    Likes Received:
    0
    I figured it out. I just needed to create a CSS file with this code.

    /* Remove the existing banner */
    #st-descr .banner .hide {visibility:hidden;}

    /* Background image as new banner */
    #st-descr .banner {background: transparent url

    ("<insert new image url>")}
     
    FlutterYay, Jan 9, 2012
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Guest
    Replies:
    2
    Views:
    672
    Natty Gur
    Jul 13, 2003
  2. Guest
    Replies:
    2
    Views:
    3,301
    Guest
    Jul 16, 2003
  3. Jon
    Replies:
    4
    Views:
    5,879
    Jonathan Williams
    Aug 7, 2003
  4. Gary Chamberlain

    Override the Encryption Key for Forms Auth

    Gary Chamberlain, Aug 27, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    407
    Gary Chamberlain
    Aug 27, 2003
  5. SStory
    Replies:
    3
    Views:
    2,569
    SStory
    Oct 30, 2003
  6. Zuel
    Replies:
    4
    Views:
    2,408
  7. Zuel
    Replies:
    4
    Views:
    413
  8. Adam Akhtar
    Replies:
    9
    Views:
    834
    Florian Gilcher
    Aug 16, 2008
Loading...