This Message Forum is no longer in use

Please use the new Bravenet Help Forums FOUND HERE

General Forum
This Forum is Locked
Author
Comment
template buttons - creating links

hi,

i want to put links in the 'buttons' on the left hand side of my page but can't seem to get it to work. is it possible to put text on top of the oblong image?
for example, i want the first button to read 'About the Choir' and link to the next page of the website.

any helpful hints very gratefully received,

Lawrence

Re: template buttons - creating links

the website is www.vivatchoir.com
sorry, i forgot to put that in my original post

Re: template buttons - creating links

Try this link to my help page on Working With Bravenet Templates. It should still give you a good idea of the work involved.

Re: template buttons - creating links

Hi Martin

Thanks very much for that link. Very useful. I have now made my buttons using Irfanview. They all look fine in NVU, where I am making the pages, but the button images don't show on the live page www.vivatchoir.com.
the original button images were .gif, but once i altered them they saved as .bmp. do you think that might cause the problem?
the coding i used for each button is as follows:

style="border: 0px solid ; width: 139px; height: 30px;" alt=""
src="images31/home.bmp">



any ideas?

thanks,

lawrence

Re: template buttons - creating links

It shouldn't make any difference whether the images are JPG or BMP, except for the fact that the BMP is going to be more than twice the size, in bytes, as the JPG. It won't make any real difference for small button images, but a BMP would be a poor choice for large images.

Here is a link to a test page of mine on Bravenet Template #31. I made two "HOME" buttons. The top one is a JPG, and the one below it is a BMP. They both seem to display equally well. Physically, the JPG is only 5 KB and the BMP is 13 KB.

The code you were trying to post was this:



The code is correct, but it can't find the images. The tag is expecting the images to be in the "images31" folder on your web site. You either:

  • Didn't upload your new images to your web site. Nvu should be able to upload everything needed for your web site, but if it's not set up right, you might only get a partial upload. Use your File Manager to make sure your images uploaded.
  • Uploaded the images but didn't put them in the right folder. Use your File Manager to make sure the images are in the right place.
  • Spelled the name wrong. The Bravenet web servers run Linux and are sensitive to upper/lower case. File names, like "home.bmp" and "home.BMP" are considered different files. Again, use your File Manager to make sure that everything is named correctly.


Re: template buttons - creating links

thanks very much for your help martin, it is all working much better now.

1 more question - i bought a font to use in my website (Pablo LET) - for the logo of the choir and the title of each page. I have just been round to my friend's house and looked at the website on his computer, and it was in a different font. Is it just a case of uploading the font in my folders section as with the images? Or is there a more serious problem?

thanks,

Lawrence

Re: template buttons - creating links

It's a poor idea to use an odd font on your web pages. In order for a visitor to see your special font, they would need to download it and make it available in their web browser. The only other way to use it is to convert each character to a graphic, and then create your title from a series of graphic images.

Re: template buttons - creating links

Martin,

Thanks for that. I shouldn't really have posted that question before searching the forum. I shall upload the choir logo as an image but in the body text I will go for a normal font.

All your help has been much appreciated,

Lawrence