Search Page Layout

  • Thread starter Thread starter scorpion53061
  • Start date Start date
S

scorpion53061

Is it possible to configure the search page layout? (the search page
template form provided).
 
Not other than applying a theme or style sheet to the page

--




| Is it possible to configure the search page layout? (the search page
| template form provided).
|
|
 
What I am basically want to do is stick a <br> tag between each result.

Do you know how I could do that?
 
FP search generates the results in a non-editable table in the format of:

<TABLE border=1>
<CAPTION><B>Search Results</B></CAPTION>
<TBODY>
<TR>
<TD><B>Document Title</B></TD>
<TD align=right><B>Score</B></TD></TR>
<TR>
<TD><A href="yourpages.htm">Your page title</A></TD>
<TD align=right>XXX</TD>
</TR></TBODY></TABLE>

What you would need to do is add a CSS style to the page for the tags Caption and TD
- or to TBODY TD if you don't use it on your pages
- that style will affect all tables in the page unless you apply a different style class to all other tables

Add the following style to your head section (will add a 25 px bottom margin to all TD cells in TBODY tag

<style type="text/css"><!--
tbody td { margin-bottom: 25px; }
--></style>

--




| What I am basically want to do is stick a <br> tag between each result.
|
| Do you know how I could do that?
|
| | > Not other than applying a theme or style sheet to the page
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > _____________________________________________
| >
| >
| > | > | Is it possible to configure the search page layout? (the search page
| > | template form provided).
| > |
| > |
| >
| >
|
|
 
If you do use those elements on your page you can wrap the search results in
a div and use a contextual selector.

#searchresults table {margin-bottom: 1em;}

<div id="searchresults">
Stefan's provided search results code
1em space
next search results code
1em space
</div>


--
Cheryl D. Wise
MS FrontPage MVP
http://mvp.wiserways.com
http://starttoweb.com
Online instructor led web design training in FrontPage,
Dreamweaver and more!
Next Session June 26th
 
This was great. Thank you both for helping me get started on this.


Cheryl D Wise said:
If you do use those elements on your page you can wrap the search results
in a div and use a contextual selector.

#searchresults table {margin-bottom: 1em;}

<div id="searchresults">
Stefan's provided search results code
1em space
next search results code
1em space
</div>


--
Cheryl D. Wise
MS FrontPage MVP
http://mvp.wiserways.com
http://starttoweb.com
Online instructor led web design training in FrontPage,
Dreamweaver and more!
Next Session June 26th

Stefan B Rusynko said:
FP search generates the results in a non-editable table in the format of:

<TABLE border=1>
<CAPTION><B>Search Results</B></CAPTION>
<TBODY>
<TR>
<TD><B>Document Title</B></TD>
<TD align=right><B>Score</B></TD></TR>
<TR>
<TD><A href="yourpages.htm">Your page title</A></TD>
<TD align=right>XXX</TD>
</TR></TBODY></TABLE>

What you would need to do is add a CSS style to the page for the tags
Caption and TD
- or to TBODY TD if you don't use it on your pages
- that style will affect all tables in the page unless you apply a
different style class to all other tables

Add the following style to your head section (will add a 25 px bottom
margin to all TD cells in TBODY tag

<style type="text/css"><!--
tbody td { margin-bottom: 25px; }
--></style>

--




| What I am basically want to do is stick a <br> tag between each result.
|
| Do you know how I could do that?
|
| | > Not other than applying a theme or style sheet to the page
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > _____________________________________________
| >
| >
| > | > | Is it possible to configure the search page layout? (the search
page
| > | template form provided).
| > |
| > |
| >
| >
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top