Search results aren't visible

R

Rawley

I've used FP 2003 to create a search form on my website at www.dobco.net. The good news is, it works fine. The bad news is that it seems to automatically display the data in a gridded box/table. The table header is black (which doesn't showup well on the color of the background). Is there anything that I can do about this?

Thanks!
 
R

Ronx

Use CSS to style the search results. Example:
In Code View add
<style type="text/css">
#srch {color:silver;}
#srch td, #srch caption #srch p{color:silver;}
</style>
to the <head>...</head> of the page.

Then wrap the searchbot in a div:
<div id="srch">
<!--webbot bot="search" ..... >
</div>

The text and results table will all be silver in colour (change this to suit
your web), hyperlinks will be the same colours as elsewhere on the page.

Note: only tested in IE6, Netscape 4 may not be as expected.
--
Ron

Reply only to group - all emails will be deleted unread.


Rawley said:
I've used FP 2003 to create a search form on my website at www.dobco.net.
The good news is, it works fine. The bad news is that it seems to
automatically display the data in a gridded box/table. The table header is
black (which doesn't showup well on the color of the background). Is there
anything that I can do about this?
 
R

Ronx

I tried just using Design View for this with no success.
As an alternative, Insert a one cell table in the page. Right click the
table and choose Cell Properties, then click style. In the ID textbox type
srch.
Then cut the following

<style type="text/css">
#srch {color:silver;}
#srch td, #srch caption #srch p{color:silver;}
#srch a {color: yellow;}
</style>

from this message (highlight and type Ctrl-C) and past directly into Code
View (Ctrl-V), directly before the </head> near the top of the page.
Again, change the colours to suit your web.
--
Ron

Reply only to group - all emails will be deleted unread.


Rawley said:
Thanks for the reply. Unfortunately, web code/language is not my best
area, but I'll try it and see what I can do with it. Is there anyway to do
it using FP commands versus actual code?
 
R

Rawley

The code you gave me changed everything except the table header, where it says, "Search Results". The rest of it works great. Any other ideas?

Thanks!
 
R

Ronx

Sorry, there's a typo

Should be

<style type="text/css">
#srch {color:silver;}
#srch td, #srch caption, #srch p{color:silver;}
#srch a {color: yellow;}
</style>

Note the comma after caption.

PS I think you will want to change silver to something else, it does not
show too well on a dark green background, which I used for testing.


--
Ron

Reply only to group - all emails will be deleted unread.


Rawley said:
The code you gave me changed everything except the table header, where it
says, "Search Results". The rest of it works great. Any other ideas?
 
G

Gary Mauer

Is there a way to use CSS this way to change the colors of the results table
I've tried to guess the correct syntax, but I really don't know much about CSS, and haven't had any luck
So far, the colors of the results table borders always end up being the same as those in whatever Windows display color scheme is being used. (Maple, Brick, Wheat, etc.
 
Top