0
Welcome Guest! Login
0 items Join Now

What is the use of blank.png

  • What is the use of blank.png

    Posted 16 years 10 months ago
    • In the following code, what is the use of blank.png why use it?
      <a href="<?php echo $mosConfig_live_site;?>" class="nounder"><img src="<?php echo $mosConfig_live_site;?>/images/blank.png" border="0" alt="" id="logo" /></a>
    • VirtueShop
  • Re: What is the use of blank.png

    Posted 16 years 10 months ago
    • I believe it is used to protect your logo image. You do not want to make it easy for somebody to "steal it". Well that is what I thought.

      Saying that, it seems irrelevant with Firebug.

      Ha, im a walking, talking contradiction
    • James Spencer / Developer & Support / Hull, UK
    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Re: What is the use of blank.png

    Posted 16 years 10 months ago
    • I use this technique because I like to be able to swap out the logo image via css, so i set the img bg via css, and put a blank.png over the top because an img tag requires a src.
  • Re: What is the use of blank.png

    Posted 16 years 10 months ago
    • I actually wondered the same thing.

      Si in this way you edit the css file and not the template file to change the logo image name?
    • www.ninjoomla.com - The Ninjoomla Open Source Extension Club
      Over 50 open source extensions and 100 videos to you build the site you want.
  • Re: What is the use of blank.png

    Posted 16 years 10 months ago
    • That answers my questions ;D
    • James Spencer / Developer & Support / Hull, UK
    • GollumX's Avatar
    • GollumX
    • Elite Rocketeer
    • Posts: 2817
    • Thanks: 0

    Re: What is the use of blank.png

    Posted 16 years 10 months ago
    • i've always loved this. recently also done with the footer logo as well aye.
    • Say no to Internet Explorer 6.
      twitter.com/mark_up
  • Re: What is the use of blank.png

    Posted 16 years 9 months ago

Time to create page: 0.050 seconds