www.webdeveloper.com
Results 1 to 3 of 3

Thread: Problems with adding alt description to images.

Threaded View

  1. #1
    Join Date
    Jul 2012
    Location
    Vantaa, Finland
    Posts
    125

    Problems with adding alt description to images.

    At the moment I have 3 sizes of the same image. 1 size for different sized screens. These images are loaded from a css file. The code is;

    Code:
    #head-photo {
        width: 100%;
        background-image: url('http://what-do-christians-believe.co.uk/wpimages/people_2d.png');
        height:235px;
       }
    I am trying to put the image into an html file so that I can add an alt tag to it. I thought that the easiest way to do this would be to make the image responsive. I am using the following css code for this'

    Code:
    #head-photo {
         max-width: 100%;
         Height: 85px;
    }
    The problem is that it isn't resizing the image. It is just using a chunk of it. I have attached a file for you to see. the problem.

    You might want to look at this image on my site to see what it should look like.

    How do I make the image responsive or at least show the bottom half of the picture?
    Attached Images Attached Images

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles