Jump to content

[SOLVED] BGround in cells


ilikephp

Recommended Posts

hello, I am using css style, and I need only the background picture to be in the specified cell and not in the whole table, what can I do plz?

 

the css style:

 

body {

background-color: #FFCC66;

background-image: url("butterfly.gif");

}

 

h1 {

color: #990000;

background-color: #FC9804;

}

 

 

Link to comment
https://forums.phpfreaks.com/topic/87405-solved-bground-in-cells/
Share on other sites

insert in your stylesheet (your .css file)

 

.specialcell {

background-image: url('PUT THE LINK TO THE PICTURE YOU WANT HERE ');

}

 

then in the cell you want the image to appear make your data tag go

 

<td class="specialcell">

 

 

that should solve your problem

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.