PDA

View Full Version : need help adding a link!



Dalia
05-13-2008, 10:37 AM
Now after hostmonster change layout , i'am lost.I was able to add a link to 3 images i have in my website page.Now after all changed i cant do that anymore. Maybe somebody can help me, how can i add a link to others pages on my website.thanks
thia is my website
http://www.digitalcreationsmyway.com/

code_m
05-13-2008, 10:12 PM
In general, it is accepted that "HREF" is part of the "A" tag. For good technique it should always be "A HREF=" and the same in "IMG" tags, here it does NOT matter but should have the "src" subtag first.

Also, Image locations NEVER, NEVER start with a "/" ... page links either for that matter. if it's in the same loaction just type HREF="File.htm" or src="image.jpg" .. with a folder say "01" (the folder must be in the same location as the page!) it would be HREF="01/file.htm" or src="01/image.jpg"

I have also found that sometimes hostmonster takes HTML in strict form when referring to file locations, or in other words, CasE SeNsiTive! annoying.. yes, but you can make it work.

r2b2
05-13-2008, 11:07 PM
Image locations may easily start with a / especially if you have a folder structure where images are at the top of the tree. (e.g. your files are in /myfolder/text.html and your image is /image/myimage.gif)

Also whenever referencing a file located on the server, [b]all[b/] filenames are case sensitive as Hostmonster runs on Linux servers.