• ok below is the code for the individual files. When making the template the way i wanted it i decieded to later change to rounded corners which i DID! in my default apache dir it works fine the way i have it. when i then add it to the template that i created it doens’t like to show the images (round corners).

    Is this a problem with wordpress? or is it something in the code?
    I’ve done absolute urls (doesn’t work) ..local machine

    Also tryed the /images/picture.gif, or images/etc…
    if it works right on my regular apache stuff then doesn’t when i put everything accordingly in the wp-content/themes/name of theme folder, what’s this mean?

    to get what i’m saying or the code.
    http://www.sit-and-spin.com/backup/spoono2 for rounded default test page
    and http://www.sit-and-spin.com for the f’d up version of wordpress with straight corners.
    ————–
    php file code.

    <div id=”table”>
    <img src=”round_top_left.gif” align=”left”/>
    <img src=”round_top_right.gif” align=”right”/>

    <div id=”content_table” align=”left”>

    Content

    </div>
    <img src=”round_bottom_left.gif” class=”bottom_left_gif”/>
    <img src=”round_bottom_right.gif” class=”bottom_right_gif”/>
    </div>

    ——-
    css file code.

    #table {
    background-color: #FFFFFF;
    height: 50%;
    width: 50%;
    }

    .bottom_right_gif {
    float: right;
    position: relative;
    margin-top: -20px;
    right: 0px;
    }
    .bottom_left_gif {
    float: left;
    position: relative;
    margin-top: -20px;
    left: 0px;
    }

    #content_table {
    background-color:#f4f4f4;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #CCCCCC;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: #CCCCCC;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-bottom-style: solid;
    border-left-style: solid;
    border-bottom-color: #CCCCCC;
    border-left-color: #CCCCCC;
    padding: 5px;
    }

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘css images not showing with template’ is closed to new replies.