Jump to content

cant get a bg image to appear from CSS


jeger003

Recommended Posts

i have a few cut up images for

 

upper_left_corner.png

upper_right_corner.png

 

lower_left_corner.png

lower_right corner.png

 

left_wall.png

right_wall.png

 

top_wall.png

bottom_wall.png

 

so basically i use all those together in a table to create a box and the center box would contain my body

 

 

everything appears except for bottom_wall.png and right_wall.png....locations and urls are correct...names are correct and still they are not showing up

 

<style type="text/css">
<!--
.left_wall {
background: url(left_wall.png);
}
.right_wall {
background: url(right_wall.png);
}
.bottom_wall {
background: url(bottom_wall.png);
}
.top_wall {
background: url(top_wall.png);

}
-->
</style>



<table border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="left"><img src="upper_left_corner.png"></td>
    <td class="top_wall"> </td>
    <td ><img src="upper_right_corner.png"></td>
  </tr>
  <tr>
    <td class="left_wall"></td>
    <td><table width="1023" height="388" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="1013"> </td>
      </tr>
      <tr>
        <td> </td>
      </tr>
      <tr>
        <td height="140"> </td>
      </tr>
    </table></td>
    <td class="right_wall"> </td>
  </tr>
  <tr>
    <td><img src="lower_left_corner.png"></td>
      <td class="bottom_wall"></td>
    <td><img src="lower_right_corner.png"></td>
  </tr>
</table>



Link to comment
https://forums.phpfreaks.com/topic/144238-cant-get-a-bg-image-to-appear-from-css/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.