HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Template problem - navigation buttons won't resolve
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form
View previous topic :: View next topic  
Author Message
Zeebi



Joined: 11 Jan 2005
Posts: 3

PostPosted: Tue Jan 11, 2005 8:27 pm     Template problem - navigation buttons won't resolve Reply with quote

Hello. I am totally new to this. I was so proud of my efforts, having composed a lovely page from a mix of a couple templates I downloaded. Then I discovered that no one was seeing what I was seeing! The file paths are set to my directories on my PC, so I see them fine but...online nothing. I managed to fix one image. Happy. But the navigation bar will NOT resolve, no matter what I do. This is the code I have:
<td
style="background-image: url(file:///C:/Documents%20and%20Settings/Zia/My%20Documents/My%20Pictures/Family%20Pictures/dotster%20templates/051/051/img/buttonblank.jpg); background-repeat: no-repeat; width: 139px; height: 30px;"><a
href="tools.html">Tools</a></td>
</tr>

I have tried a couple suggestions, including chaning the path to:
url(/im/buttonblank.jpg) and url(file:///im/buttonblank.jpg)

'im' is the file I put the images in. I have tried it without though, just as:
url(buttonblank.jpg)

All I get is the link! No button at all. and they are so pretty and match the rest of the site.

Any ideas? Zeebi
chrisxkelley



Joined: 07 Dec 2004
Posts: 246

PostPosted: Tue Jan 11, 2005 8:36 pm     Reply with quote

are all of the images uploaded to your server?
Zeebi



Joined: 11 Jan 2005
Posts: 3

PostPosted: Wed Jan 12, 2005 7:11 am     Images uploaded Reply with quote

Yep. The images have been uploaded in their own file, and with the rest of the files. I can insert the image on it's own and it will appear - but won't serve as a button cuz I can't write on it. But I can't seem to put both together! Is that cuz it's jpeg? Would it help to convert it to .gif or something?
velocity



Joined: 13 Jan 2005
Posts: 6

PostPosted: Thu Jan 13, 2005 11:22 am     Re: Template problem - navigation buttons won't resolve Reply with quote

Zeebi wrote:

<td
style="background-image: url(file:///C:/Documents%20and%20Settings/Zia/My%20Documents/My%20Pictures/Family%20Pictures/dotster%20templates/051/051/img/buttonblank.jpg); background-repeat: no-repeat; width: 139px; height: 30px;"><a
href="tools.html">Tools</a></td>
</tr>



To use this online you need to have it say:
Code:
<td
 style="background-image: url(http://www.yourdomain.com/yourfolder/buttonblank.jpg); background-repeat: no-repeat; width: 139px; height: 30px;"><a
 href="tools.html">Tools</a></td>
          </tr>

It usually works to also try:
Code:
<td
 style="background-image: url(/yourfolder/buttonblank.jpg); background-repeat: no-repeat; width: 139px; height: 30px;"><a
 href="tools.html">Tools</a></td>
          </tr>

But that piece of code doesnt look right cause your telling it that the image is in a URL. The above or below will work though.

You could also try:
Code:
<td background="http://www.yourdomain.com/yourfolder/yourimage.jpg"></td>

or
Code:
<td background="/yourfolder/yourimage.jpg"></td>
Zeebi



Joined: 11 Jan 2005
Posts: 3

PostPosted: Thu Jan 13, 2005 12:12 pm     THANKS! Reply with quote

Thank you. I can not try it yet....too many other things to work on before my 'dayjob' starts again. But I will....ASAP. I had to give up for now. It took me a full 24hrs just to make progres....too much time. Took them out for now but will be looking into new code when I can.
THANK YOU! YOu guys rock! Laughing
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form All times are GMT - 8 Hours
Page 1 of 1

 
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
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial