background attribute not working

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   background attribute not working
celblock
CZ Newbie
celblock has been a member for over 17 year's 17 Year Member
Status: Offline
Joined: Oct 10, 2007
0.00 posts per day
Posts: 3
Points: 0
   
I have created a table in my index page, i would like for each cell to have a different background image. I have included tr in my config.php and it is working great, but the background attribute doesn't work when i update the html source code it gets edited out what do i do. all other atribute work width, height, etc.. only backgorund wont work.



Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Can you post an example of what the code looks like before saving and after saving please.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   
celblock
CZ Newbie
celblock has been a member for over 17 year's 17 Year Member
Status: Offline
Joined: Oct 10, 2007
0.00 posts per day
Posts: 3
Points: 0
   
here is the code i try to insert i included a note next to the altered parts thanks

before update
<table height="308" cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td width="278"><a href="modules.php?name=gallery2&g2_itemId=28"><img height="102" src="images/h-town.jpg" width="260" border="0" /></a> <a href="modules.php?name=gallery2&g2_itemId=30"><img height="89" src="images/lafayette.jpg" width="260" border="0" /></a> <a href="modules.php?name=gallery2&g2_itemId=32"><img height="98" src="images/no.JPG" width="260" border="0" /></a> </td>

// here is the part i am trying to edit notice the background attribute
<td width="278" background="images/body_bg.jpg"><img height="306" src="images/bg1.jpg" width="260" border="0" /></td>
<td width="278" background="images/body_bg.jpg"><img height="306" src="images/bg2.jpg" width="260" border="0" /></td>
</tr>
</table>


here is the code afterwords

<table height="308" cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td width="278"><a href="modules.php?name=gallery2&g2_itemId=28"><img height="102" src="images/h-town.jpg" width="260" border="0" /></a> <a href="modules.php?name=gallery2&g2_itemId=30"><img height="89" src="images/lafayette.jpg" width="260" border="0" /></a> <a href="modules.php?name=gallery2&g2_itemId=32"><img height="98" src="images/no.JPG" width="260" border="0" /></a> </td>

// see its gone now
<td width="278"><img height="306" src="images/bg1.jpg" width="260" border="0" /></td>
<td width="278"><img height="306" src="images/bg2.jpg" width="260" border="0" /></td>
</tr>
</table>




Back to top Reply with quote
#4   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Did you add background to your allowed tags in your config.php?




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#5   
celblock
CZ Newbie
celblock has been a member for over 17 year's 17 Year Member
Status: Offline
Joined: Oct 10, 2007
0.00 posts per day
Posts: 3
Points: 0
   
Yes i did and it still deletes it, the same goes for iframe as well. I add them to my allowable html and they still get cut off



Back to top Reply with quote
#6   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Are you using sentinal? Can you attach a copy of your config.php? (make sure to erase the mysql login information)




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum