TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 19, 2024, 04:45:49 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 266
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 195
  • Total: 195

Link Blocks and Images

Started by 2bz2p, May 21, 2007, 03:31:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

2bz2p

This is probably a stupid question, though I cant seem to figure it out

I created a box and put in the HTML code for links. Right now this is what I have in for code.

<a href="http://www.americasarmy.com" target="_new"> America's Army</a>

I know if I enter in this code
<a href="http://www.americasarmy.com" target="_new"> <img src="/images/aaologo.gif"></a>

Right now I get the box with the red X, I know for a fact that the image is in that directory and the name is correct.

So my question is why am I getting the red box.

Thanks
2B

Maviarab

try this...you have a gap between your ...new"> and your <img...

<a href="http://www.americasarmy.com" target="_new"><img src="/images/aaologo.gif"></a>

2bz2p

I fixed the gap and still the same thing. The images dont have to be in any specific location other than some where in the Public_HTML folder?

Reality12

<a href="http://www.americasarmy.com" target="_new"><img src="http://www.americasarmy.com/images/aaologo.gif"></a>

What page is that logo on?




2bz2p

#4
http://www.americasarmy.com/downloads/

I snaged the picture and put it in my Public_HTML folder under Images.

I will try the code you put in alex.

Edit: that code didn't work, I wonder if its the image???

Flopdogg.com is my site and the box is on the left side.

Reality12

#5


Seems to work fine.

<A HREF="http://www.americasarmy.com"><IMG SRC="http://www.americasarmy.com/images/logo_aao.gif"></A>

Lesmond

#6
Try this in your block, make sure you use a script block :)

<center><marquee behavior="fade" direction="up" scrolldelay="240" onmouseover="this.stop()" onmouseout="this.start()">
<b><font size="3">Gaming Links</font></b><br><b><font size="2">America's Army Links</font></b><br><font size="2">
<a href="http://www.americasarmy.com" target="_new">
<img src="http://www.americasarmy.com/images/logo_aao.gif" width="90" height="83"></a>
<br><a href="HTTP://www.aaotracker.com" target="_new"> AAO Tracker</a><br><a href="http://www.NAM-Army.com" target="_new">North American Militia</a><br><a href="http://www.aamissiondepot.com/main" target="_new">AA Mission Depot</a></font><br><br><b><font size="3">Search Engines</font></b><br><a href="http://www.Google.com" target="_new">Google</a><br><a href="http://www.Yahoo.com" target="_new">Yahoo</a></center>

2bz2p

Lesmond,

     Thank you that worked out great I still dont understand why i wouldnt take without the Height and Width.

Alex,

     Thank you for the Help and ideas.

Though It does work and thank you to all who have posted.


Assistance

if u were using your above code in a block, the block assumes the directory for your image is in your forum folder.