473,320 Members | 1,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Why is my search box image not displaying ?

290 100+
Hi,

In my html I have a menu and a search box which should display a search image.

When I look in the source code - the image is there and if I browse to the image url - it displays, BUT it does not display on my page !!!

This is the page url:

http://www.expert-world.com/forum/index.php

This is the url for the search box image:

http://www.expert-world.com/forum/st...enu_search.gif


If you look at the source code for the page, you can see this just a few lines after the <body> starts


Expand|Select|Wrap|Line Numbers
  1. <div id="menu" style="clear:both;margin-top: -3px;;background: url('./styles/prosilver_se/theme/images/menu/blue/menu_bg.gif') repeat-x;">
  2.   <div class="inner">
  3.         <span class="menu_corner-left" style="background: url('./styles/prosilver_se/theme/images/menu/blue/menu_corner.gif') no-repeat;"></span>
  4.         <span class="menu_corner-right" style="background: url('./styles/prosilver_se/theme/images/menu/blue/menu_corner_right.gif') no-repeat;"></span>
  5.  
  6.        <div id="top-search" style="float: right;background: transparent url('./styles/prosilver_se/theme/images/menu/blue/menu_search.gif') no-repeat scroll 0 0;">
  7.             <form action="./search.php" method="post" id="search">
  8.             <fieldset>
  9.                 <input name="keywords" id="keywords" type="text" maxlength="128" title="Search for keywords" class="menu_search" value="Search…" onclick="if(this.value=='Search…')this.value='';" onblur="if(this.value=='')this.value='Search…';" /> 
  10.  
  11.             </fieldset>
  12.             </form>
  13.         </div>
  14.  
The image address is there - but it doesn't show up on the page.

Can any one figure out why ?

I am not sure but looking at the css includes - am I missing a css file maybe ?

Obviously this is a phpbb implementation - but the html basic principles apply everywhere.

Thanks for any help
Feb 2 '11 #1
2 2164
drhowarddrfine
7,435 Expert 4TB
I see it just fine.
Feb 2 '11 #2
JKing
1,206 Expert 1GB
You have set your image as a background image on the div.

Therefore it shows up behind your input box. You may want to consider placing the background image directly on the input tag. Then using some css to set the height and width of your input box to match the dimensions of your background image.
Feb 2 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Roger | last post by:
I have a report with a image displaying our company logo if I create an snapshot of this report, it appears to create an 'snp' file, but nothing is stored in the folder I tried both linked and...
5
by: ljuljacka | last post by:
I'm trying to display resized images. Locations of images are fetched from database. The problem is that with the following code, I get only the first image displayed: <?php...
1
by: toddw607 | last post by:
Hi Everyone, I'm trying to take 2 fields from an Access DB and put them in a report using a query. I want the query to display a part number and a figure index. I only want the part number...
1
by: rascalking | last post by:
Hello, So I've read many forums that explained how to get an image out of SQL Server database and display it. I used an alternate .aspx page to retrieve the image and write it back as binary...
0
by: ramkumar533 | last post by:
Hi All.. Now i am doing a Project related with students report. There i need to display the each student profile with his image.. The image location is stored in the database...
1
by: ramkumar533 | last post by:
Hi All.. Now i am doing a Project related with students report. There i need to display the each student profile with his image.. The image location is stored in the database table. While i tried...
5
by: simcom | last post by:
Hi I have seen a few other posts on this forum about this from my seaching, however still cannot find a solution to my issue (probably just me, so if anybody knows where this has been answered...
1
by: db2tester | last post by:
Well I'd like to compare images and search images by content using DB2 with C++ on windows. First of all what softwares ( extenders do I need )? I have installed DB2 UDB 8.2 with the imagemagick...
6
by: vikidigi | last post by:
PLz Help i have some Images in DataBase in Blob field but images are displayed with a Cross (X) not the actual image MainPage.php//code # <?php # $con =...
0
Debadatta Mishra
by: Debadatta Mishra | last post by:
Introduction In this article I will provide you an approach to manipulate an image file. This article gives you an insight into some tricks in java so that you can conceal sensitive information...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.