Results 1 to 14 of 14

Thread: Problems with a background picture!

Threaded View

  1. #1
    Join Date
    Jun 2010

    Problems with a background picture!

    So this is the issue:

    I am a Web developer/( or Web Editor as the program was called in college i studied on), and i have not working with CSS(for example) since 2010. Now i was going to make a little personal profile portfolio site to be able to show my work, for jobs and etc, andi allready got stumble on with the background picture i want to put in the middle, steady its just a division area in the middle of it for text wich should change.

    So the problem now is it that this picture do not appear! I tried with another jpg-picture and it works, but with this i want it does not! Have i missed something-FORGOT something??? This is a picture in jpg i made in Adobe Illustrator and to put as a background fixed image on the centre of the site. Do i need to update something(i am using IE 8)? DO i need to update Windows Updates? Do i need to update Flash(?!). I am testing now through Adobe Dreamweaver local, not on any server.

    Here is the code if that may help:

    HTML code:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta name="keywords" content="profile, portfolio, pictures, sea, beach, forest, mountain"/>
    <meta name="description" content="profile, portfolio, information"/>
    <title>Christos Profile</title>
    <link href="ProfileStyle1.css" rel="stylesheet" type="text/css"/>
    <h1>Hello World!</h1>

    An image:
    <img src="index1.jpg" alt="index" width="72" height="72" />


    CSS code:

    background: url('images/index1.jpg');
    background-repeat:no-repeat; /*this line i put there as a test, i do no think it depends on it*/
    display:block; /*same here*/

    As you see the picture filename is 'index1' and i have written it both as html on the indexpage and aswell as a background code in the CSS. Neither work for me!
    Last edited by Baxxter; 03-29-2012 at 07:06 AM.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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