It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

HTML Link Boxes

HTML Link Boxes

Postby int0xicatedxluv on Tue Mar 20, 2007 4:07 pm

Hey guys... I'm trying to make some banners for my photography page that people can put on their myspace pages, but I can't figure out how to achieve this with the HTML.

Something like this:

http://www.linkpartners.com/getbanners.html

I already have my image & everything ready to go, but how to get the code into the boxes like that under the photos is beyond me.

Any help would be GREATLY appreciated!

8)
int0xicatedxluv
 
Posts: 2
Joined: Tue Mar 20, 2007 4:02 pm

Postby narian on Tue Mar 20, 2007 4:11 pm

you should use Photoshop to creat it, or even flash.
narian
 
Posts: 21
Joined: Sat Mar 17, 2007 10:37 pm

Postby int0xicatedxluv on Tue Mar 20, 2007 4:12 pm

to create the HTML code to go under the photo?

Not sure how that would work.


I have the photo ready to go. I really just need to know how to go about getting that HTML code to go under it that people can copy & paste the banner & link onto their pages
int0xicatedxluv
 
Posts: 2
Joined: Tue Mar 20, 2007 4:02 pm

Postby narian on Tue Mar 20, 2007 4:36 pm

so what you are going to need to do is get the image hosted, then you need to change the image code to fit the hosted image and have the code be readable for the html reader, < would be &lt; and so on.
narian
 
Posts: 21
Joined: Sat Mar 17, 2007 10:37 pm

Postby generalchaos316 on Wed Mar 21, 2007 3:49 am

You should be able to just copy the text on that page and just replace the links with your personal locations. So...

Code: Select all
<a href="http://www.yoursite.com"><img border="0" src="http://www.yoursite.com/images/yourbanner.jpg" alt="Whatever you want that is a description of what your site is" width="how many pixels wide is your banner?" height="how many pixels tall is your banner?"></a>


What's all this crap? It helps to understand what the code does:

<a href="LINK">CRAP</a>
Any "CRAP" will be clickable in the browser window as a link. Notice how the image is nested inside of this tag? Doing so turns the whole banner into a link!

<img border="0" src="LINK" alt="DESCRIPTION width="X" height="Y">
This displays the image with a no-nonsense border of 0 pixels (i.e. no border.) The src (source) links to the image wherever it may be on your website. Alt tag allows people that have to use screen readers to be able to have a clear DESCRIPTION of what your site does. Also, the alt tag will usually pop up a little DESCRIPTION box when the user hovers over them for a few moments with their mouse. Height and width should be self explanatory.

Hope that helps.
generalchaos316
100+ Club
 
Posts: 101
Joined: Fri Mar 16, 2007 6:01 am

Postby generalchaos316 on Wed Mar 21, 2007 4:31 am

Oh yeah, and MySpace should be able to read that HTML file and display it properly so all they have to do is copy and paste the text into the desired location on their page.
generalchaos316
100+ Club
 
Posts: 101
Joined: Fri Mar 16, 2007 6:01 am


Who is online

Users browsing this forum: No registered users and 5 guests