PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Any way to remove <br /> tags from search results?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Any way to remove <br /> tags from search results?

    This is part of the code that appears on a results page;

    <div class="summary">The following word(s) are in the skip word list and have been omitted from your search: "<b>of</b>"<br />
    <br /></div>
    <div class="summary">
    43 results found containing all search terms. 217 results found containing some search terms. <br />
    </div>
    Is there a straightforward way to remove those <br/> tags?

    ETA: I'm using the ASP.NET version
    Last edited by aezzell; Jan-31-2011, 06:33 PM. Reason: clarification

  • #2
    One way to do it is via CSS in your "search_template.html" file, like so:

    .summary br { display: none; }

    If you want both summary div blocks to appear on the same line, you can go further and do this as well:

    .summary { display: inline; }
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment

    Working...
    X