how to make an image part of a block

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   how to make an image part of a block
cybershot
CZ Super Newbie
cybershot has been a member for over 17 year's 17 Year Member
usa.gif oregon.gif
Gender: Male
Website:
Status: Offline
Joined: Jan 31, 2007
0.01 posts per day
Posts: 75
Points: 25
   
ok i have searched and found nothing. What i want to do i think is simple. i have placed an image in a block on my page. the block has scrolling content. when the content hits the bottom of the image, i disapears. wich is fine. it looks just fine and works greate. but what i would like to do is make the image part of the background so that the content just scrolls right over the top of the image and keeps going. How can i do this?



Attached Files
block-{ASP}_mappers.txt (600 Bytes, Downloaded: 5232 Time(s))


Back to top Reply with quote
#2   re: how to make an image part of a block
cybershot
CZ Super Newbie
cybershot has been a member for over 17 year's 17 Year Member
usa.gif oregon.gif
Gender: Male
Website:
Status: Offline
Joined: Jan 31, 2007
0.01 posts per day
Posts: 75
Points: 25
   
never mind. i figured it out. thanks.



Back to top Reply with quote
#3   re: how to make an image part of a block
BlackWidow
CZ Newbie
BlackWidow has been a member for over 19 year's 19 Year Member
Gender: Female
Status: Offline
Joined: Jul 31, 2005
0.00 posts per day
Posts: 2
Points: 0
   
I would really appreciate it if you would tell me how you done that. Ive gone crosseyed from googling and reading posts in various forums trying to find the answer.

icon_smile.gif icon_smile.gif icon_smile.gif



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
   
MAke a table inside the block and add a background property on it.


<table border="0" width="100%" background="myimage.gif">
<tr><td>CONTENT</td></tr>
</table>




_________________
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   
BlackWidow
CZ Newbie
BlackWidow has been a member for over 19 year's 19 Year Member
Gender: Female
Status: Offline
Joined: Jul 31, 2005
0.00 posts per day
Posts: 2
Points: 0
   
Thanks Telli....worked a treat icon_biggrin.gif icon_biggrin.gif



Back to top Reply with quote
#6   re: how to make an image part of a block
cybershot
CZ Super Newbie
cybershot has been a member for over 17 year's 17 Year Member
usa.gif oregon.gif
Gender: Male
Website:
Status: Offline
Joined: Jan 31, 2007
0.01 posts per day
Posts: 75
Points: 25
   
when i try that code. my picture doesn't work. i used this to get it working.

$content .="<img src=http://www.asp-gamers.com/main/avitars/aspmm.jpg width='148' border=0</img>";

when i try your code. the image goes away. can you tell me what i am doing wrong



Attached Files
block-{ASP}_mappers.txt (787 Bytes, Downloaded: 5231 Time(s))
Attached Files
block-{ASP}_mappers.txt (787 Bytes, Downloaded: 5232 Time(s))


Back to top Reply with quote
#7   Re: re: how to make an image part of a block
floppydrivez
CZ Addict
 Codezwiz Site Donator
floppydrivez has been a member for over 18 year's 18 Year Member
usa.gif mississippi.gif
Occupation: graphic design
Age: 43
Gender: Male
Website:
Status: Offline
Joined: Feb 26, 2006
0.08 posts per day
Posts: 518
Points: 4,848
AIM Address Yahoo Messenger MSN Messenger 


Originally posted by cybershot @ Fri Feb 23, 2007 2:10 pm:

when i try that code. my picture doesn't work. i used this to get it working.

$content .="<img src=http://www.asp-gamers.com/main/avitars/aspmm.jpg width='148' border=0</img>";

when i try your code. the image goes away. can you tell me what i am doing wrong


I think you need to google some html.... Tons of resources out there for you.

$content .="<img src='http://www.asp-gamers.com/main/avitars/aspmm.jpg' width='148'  border='0'>";


Make sure
$content .= "


Is not the first instance of $content used. If so it should be
$content = "


Hope this helps.


Back to top Reply with quote
#8   re: how to make an image part of a block
cybershot
CZ Super Newbie
cybershot has been a member for over 17 year's 17 Year Member
usa.gif oregon.gif
Gender: Male
Website:
Status: Offline
Joined: Jan 31, 2007
0.01 posts per day
Posts: 75
Points: 25
   
That's all i have been doing is searching the net for information. I have about 10 different sites stored for info. You see that's what these forums are for. when you get stuck, you ask a question. that's what i am doing. I have found many ways to insert images. sometimes i found that when i use quotes for links, it messes things up.
As for your response. i don't understand what you are saying. I see that you removed the period from $content =" ... are you saying that if i remove the period something different will happen. I am not a programmer, so it would help if you explained alittle more. thanks.



Back to top Reply with quote
#9   re: how to make an image part of a block
floppydrivez
CZ Addict
 Codezwiz Site Donator
floppydrivez has been a member for over 18 year's 18 Year Member
usa.gif mississippi.gif
Occupation: graphic design
Age: 43
Gender: Male
Website:
Status: Offline
Joined: Feb 26, 2006
0.08 posts per day
Posts: 518
Points: 4,848
AIM Address Yahoo Messenger MSN Messenger 
Sorry If I was unclear...

You should try this statement first for your image
$content .="<img src='http://www.asp-gamers.com/main/avitars/aspmm.jpg' width='148'  border='0'>";


If that doesn't work remove the period from $content.


Back to top Reply with quote
#10   re: how to make an image part of a block
cybershot
CZ Super Newbie
cybershot has been a member for over 17 year's 17 Year Member
usa.gif oregon.gif
Gender: Male
Website:
Status: Offline
Joined: Jan 31, 2007
0.01 posts per day
Posts: 75
Points: 25
   
i don't think that's any different from the line i am using. I do have the image displaying in the block. it looks fine. but telli posted code using background...look up a few posts. and the guy said it worked great. when i tried it, it didn't work.
I tried your advice and removed the period and found that it didn't make any difference. the picture still displays the same. I thought from telli's post. that if i used the background comment that the image would display differently. that the scrolling content would scroll over the image instead of under it. or something.



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