Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Help taking psd to workpress.. not getting images

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26302
    buckeyegirl
    Member

    OK, so I’ve tried getting help with this before and cannot figure it out for the life of me. I am trying to take my photoshop file and put it into the starkers theme. The only image that is coming up is the background. What am I doing wrong?

    I am trying to do this for my sister and have never coded outside of dreamweaver before, so I’m pretty lost. Any help would be really appreciated!

    Here’s the php:

    Code:



    Napoleon Veterinary Clinic


    and here’s the css

    Code:
    /*
    Author: Cassie Jo Arend
    */

    /* RESETS & BASIC PAGE SETUP */
    * { margin: 0; padding: 0; }
    html {overflow-y: scroll; }
    body {font: 63.5% Arial, sans-serif;
    background: url(style/images/Background.png) top left repeat;}

    ul { list-style: none inside; }
    p {font-size: 1.2em; line-height: 1.2em; margin-bottom:1.2em; }
    a {outline:none; }
    a img { border: none; }
    /* END RESET */

    /*TOOLBOX*/
    .floatleft { float: left }
    .floatright { float: right }
    .clear { clear: both }
    /* END TOOLBOX */

    /* STUCTURE AND STUFF */
    #page-wrap {
    width: 730px;
    margin: 0 auto;
    background: url(style/images/Content.png) alt=”Napoleon Vet Clinic Content” repeat-y;
    }

    }

    #header {
    width: 730px;
    height: 82px;
    url(style/images/Header.png); alt=”Napoleon Veterinary Clinic”
    }

    #64943
    buckeyegirl
    Member

    Anyone? Anything? Please!?

    #64944
    blue642
    Member
    Code:
    background: url (style/images/Header.png); alt=”header”

    sidebar
    footer

    Take a look at the first link to the background image, you indicated that the images folder is inside of a folder called "style"
    You did not include that in the img elements.

    If the images are inside of a folder called "images", which is inside of a folder called "style", then you need to include "style/" before the "images/….png"

    You also have a css rule inside of the HTML div

    and a closing UL tag in your css.
    I would need to see your folder structure to better help though.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.