/    Sign up×
Community /Pin to ProfileBookmark

"display:none;" ?

Hello all.I am a user of a profile and there is banner which i DONT want to be displayed in the profile!

This is the code source:

[COLOR=DarkRed]<div style=”padding: 10px”>
<a href=”http://www.gamebookers.com/cgi-bin/intro.cgi?pid=4556306&l=gr&b=458” target=”_blank”>
<img src=”http://www.multiweb.gr/gamebookers/468×60.gif” border=”0″ alt=”gamebookers.com – the better you bet!”>
</a>
</div>[/COLOR]

Is there any code so i can put it in my CSS file or in a field of the profile so this banner CANNOT be displayed?

THANX A LOT GUYS!

to post a comment
CSS

7 Comments(s)

Copy linkTweet thisAlerts:
@kessaJun 27.2006 — Hi copyrat,

disply:none; would do it, can I ask why you are setting a banner not to display? Are you using alternate stylesheets to display the banner or something?

Kessa
Copy linkTweet thisAlerts:
@copyratauthorJun 27.2006 — Hey kessa.. the banner has been setted by the admin of the site and i just dont want to be displayed in my profile!

But i cannot find any code to hide it!
Copy linkTweet thisAlerts:
@kessaJun 27.2006 — Sorry, must be missing something here - if you have access to the files can't you just remove the image (or is it that you only have access to the stylesheet)?
Copy linkTweet thisAlerts:
@copyratauthorJun 27.2006 — Kessa yes man you are missing something.. I dont have access to the server files. I only have access in my personal profile which is CSS accessable so i can make changes in the profile page ONLY ?
Copy linkTweet thisAlerts:
@kessaJun 27.2006 — I only have access in my personal profile which is CSS accessable[/quote]

OK, if you can only access the CSS file then I think you may only have one option (and this relies on there being no other divs with images on the page)

If there are no other div's with images on the page then the following should work:

[B]div img {display:none;}[/B]

That will hide [I]any [/I] images within [I]any [/I] div

  • - better still, if the div (or image) which you are trying to target has either a class or an id then you may be able to include that - but looking at the code provided it looks like you may be out of luck.


  • If the div is nested, and the parent div has either a class or an id then you could use that (which depending on the page may solve your problem) but it's not going to be as targeted as applying the class to the element itself.

    Kessa
    Copy linkTweet thisAlerts:
    @TheBearMayJun 27.2006 — Sounds like you're trying to circumvent your usage agreement with your host.
    Copy linkTweet thisAlerts:
    @Khalid_AliJun 27.2006 — Sounds like you're trying to circumvent your usage agreement with your host.[/QUOTE]

    Exactly, how ill moral is this that you use some one's services and don't want to display their name.....very bad
    ×

    Success!

    Help @copyrat spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 6.16,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @nearjob,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,
    )...