Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6971673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:52:14+00:00 2026-05-27T16:52:14+00:00

The img tag inside the canvas element is greyed out in firebug. Mostly this

  • 0

The img tag inside the canvas element is greyed out in firebug. Mostly this is due to a bad style value like display: none, opacity: 0 or a height and widthequal to zero.

But from what I can see, this is not the case in my scenario. I’ve gone through many checks to verify this, but can’t figure out why it’s hidden.

<!doctype html>
<html>
    <head>
        <meta charset="utf-8">        
        <style>
* {
    margin : 0;
}

html, body {
    height : 900px;
}

#wrapper {
    height : 80%;
    margin : 1% auto;
    width  : 960px;

    -webkit-border-radius : 12px;
       -moz-border-radius : 12px;  
            border-radius : 12px;       

    -webkit-box-shadow : 0 0 10px #CCC; 
      -moz-box-shadow  : 0 0 10px #CCC;
           box-shadow  : 0 0 10px #CCC; 

    -webkit-background-clip : padding-box;
       -moz-background-clip : padding;
            background-clip : padding-box;  
}

#wrapper > * {
    opacity : 0.6;
}

#wrapper * {
    opacity : 1.0;
}

#wrapper nav {
    height     : 20%;
    text-align : center;    
}

#wrapper nav ul {
    list-style : none;
    height     : 90%;
}

#wrapper nav ul li {
    display : inline-block;
    height  : 100%;
    padding : 0 5% 0 0;
    width   : 10%;
}

.link {
    border  : 1px solid #777;
    display : block;
    float   : left;
    height  : 100%;
    margin  : 5% 10% 10% 5%;
    width   : 100%;

    background-color :                              transparent;
    background-image : -webkit-linear-gradient(top, transparent, transparent);
    background-image :    -moz-linear-gradient(top, transparent, transparent);
    background-image :     -ms-linear-gradient(top, transparent, transparent);
    background-image :      -o-linear-gradient(top, transparent, transparent);
    background-image :         linear-gradient(top, transparent, transparent);
}

.link:hover {
    border : 1px solid #000;

    -webkit-border-radius : 12px;
       -moz-border-radius : 12px; 
            border-radius : 12px;   

    -webkit-box-shadow : 0 0 10px black;
       -moz-box-shadow : 0 0 10px black;
            box-shadow : 0 0 10px black;    

    -webkit-background-clip : padding-box;  
       -moz-background-clip : padding;
            background-clip : padding-box;

    -webkit-transition : all 0.3s ease-out;
       -moz-transition : all 0.3s ease-out;
        -ms-transition : all 0.3s ease-out; 
         -o-transition : all 0.3s ease-out;
            transition : all 0.3s ease-out; 
}
        </style>
    </head>
    <body>
        <div id="wrapper">
            <nav>
                <ul>
                    <li>
                        <a class="link" href="./?action=foo">
                            <canvas>
                                <img alt="foo" src="images/foo.png">
                            </canvas>
                        </a>
                    </li>
                    <!-- ... -->
                </ul>
            </nav>
        </div>
    </body>
</html>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T16:52:14+00:00Added an answer on May 27, 2026 at 4:52 pm

    Everything in a canvas element is hidden except the browser does not support canvas!!

    Look at the canvas tutorial for information about how to create an image in canvas

    The noscript tag does the same thing 😉

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some text with images inside it. For example like this texttext<img src=2011-08-15/4/img/123.JPG
I've an image tag inside a div element. <div id = myDiv> <img alt
Look at this situation: www.websitea.com displays an img tag with a src attribute of
Image tag inside email message: <img src=http://www.mydomain.com/image.php?lastest=1> Part of image.php script: case 'image/gif': header('Content-type:
So i have one div and inside i have img tag. SO what i
I've a div and inside the i place a image using img tag and
I'm using django-googlecharts to generate a simple pie chart. Inside the img tag, it
suppose i have one div and div has img tag like <div><img src='img1.png'/></div> so
I have my own custom webpart. Inside this webpart I would like to display
In html does the text inside the img tag's alt attribute require encoding/escaping? Non

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.