Remove a Image

edited September 2007 in Style Development
I want remove a Picture in the Browser game Earthlost ...

the url of game "earthlost.de"
the Image url is http://images.earthlost.de/images/bg_top_new.jpg

I also wanna get the Planet Box on the left side blue.....

any ideas?

Comments

  • img[src$="bg_top_new.jpg"]{display:none!important}
  • edited September 2007
    thanks for the fast reply but it doesnt work..
  • edited September 2007
    could you post the source for the image
    rightclick goto view source find the image (it'll look something like image) then post that

    you could also try changing img[src$= to img[src*=
  • soure ? with * it also doesnt work
  • This works but it leaves a blank space. It may be a bit more code than necessary but it should prevent false positives.

    @namespace url(http://www.w3.org/1999/xhtml); @-moz-document url("http://www.earthlost.de/") { TABLE>TBODY>TR>TD:first-child+TD {background-image:none !important;} }
  • thats for the background .. i wanna block the header with css
  • no one an idea??
  • edited September 2007
    remove table
    @namespace url(http://www.w3.org/1999/xhtml); @-moz-document domain("earthlost.de"){ table[style*="/bg_top_new.jpg"]{display:none!important} }remove image
    @namespace url(http://www.w3.org/1999/xhtml); @-moz-document domain("earthlost.de"){ table[style*="/bg_top_new.jpg"]{background-image:none!important} }
  • edited September 2007
    Well, the image you are trying to hide is not present in the source code anymore... it is now called "top_logo.jpg"

    @namespace url(http://www.w3.org/1999/xhtml); @-moz-document domain("earthlost.de") { td[style*="/top_logo.jpg"]{background-image:none !important;} /* td[style*="/top.png"]{background-image:none !important;} td[style*="/topright.png"]{background-image:none !important;} td[style*="/topleft.png"]{background-image:none !important;} div[style*="/top_center.png"]{background-image:none !important;} td[style*="/topleft_sub.png"]{background-image:none !important;} td[style*="/topright_sub.png"]{background-image:none !important;} */ }
    That should do it. Note that if you want to hide the rest of the header uncomment (/* ... */) the rest of the code.
    I know it leaves an empty space there. But I don't know how to not display a table with no style based on its childs' style(be it tr, td, or anything else for the matter) ...
    So,...
    [official sounding music] Whomever knows how to do that please come forward and speak to this honorable assembly ! [/official sounding music]
    ;-)
  • edited September 2007
    @namespace url(http://www.w3.org/1999/xhtml);

    @-moz-document url("http://www.earthlost.de/") {
    TR[style="height: 124px;"]>td:first-child+td { background-position: 0 -93px; }
    TR[style="height: 124px;"] { vertical-align: top !important; height: 30px !important; }
    TR[style="height: 124px;"]>td { height: 30px !important; }
    }
    Remove background image if you wish, but I wouldn't unless made new one.
  • doesnt work at all......
  • thats the wrong img dude ;) i mean the image header ingame... and for the ingame image it doesnt work
  • mmmh...
    maybe you could be giving us an url a bit more specific... don't you think ?
  • the pictures url is in teh first post so what more specific?!?!?!
  • you must be logged in to see the picture i mean
  • Let me guess, you expect people to register in that stupid browser game just to help you?
    Upload the target page somewhere to make it accessible by everyone.
  • Spyke did you try the "remove image" one i posted
  • choggi, yours works.... thx and sry for all Oo
Sign In or Register to comment.