logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Dreamweaver General
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 01-30-2009, 11:19 PM   #1
fmw
 
Join Date: Jan 2009
Posts: 6
Default Syntax help please

The last little task required to get my index page finished is to get the little search.gif image to appear underneath the text block. Here's the code.

HTML Code:
<td valign="bottom"><input type='text' name='txtSearchString' value='' size="15" />
                  &nbsp; <br />
                  <input type="image"'../images/search.gif'  name='|Search|'   alt='Search'   border="0" align="absmiddle" width="67" height="20" />  &nbsp; </td>
I'm sure the image search.gif is alive and well in the images folder but it doesn't appear. Any suggestions?

Last edited by davidj; 01-31-2009 at 09:18 AM..
fmw is offline   Reply With Quote
Old 01-31-2009, 12:18 AM   #2
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,204
Default

<img source="'../images/search.gif">
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 01-31-2009, 12:57 AM   #3
JDesigns
 
Join Date: Feb 2008
Posts: 29
Default

Also, your name= and alt= need double quotes and in the td tag you need to complete the value="".
JDesigns is offline   Reply With Quote
Old 01-31-2009, 06:00 PM   #4
fmw
 
Join Date: Jan 2009
Posts: 6
Default

I didn't give you enough context to tell you what was going on. Sorry for that. This is part of form routine that takes in put and launches a search on the web site. That's why, as an example, there is nothing in the value statement. The form is empty so the use can enter a search string.

The search routine worked just fine. I was just having a problem displaying the graphic. Here's the code that fixed it.

<td valign="bottom"><input type='text' name='txtSearchString' value='' size="15" />
&nbsp; <br />
<input type=Image src='/shop/images/search.gif' name='|Search|' alt='Search' border=0 align=absmiddle width="67" height="20"> &nbsp; </td>

Thanks.

Fred
fmw is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:43 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com