We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 349
    • 76 Posts
    I get some unexpected margins between the search results.
    I am using the default templates and tried AjaxSearch 1.8.4 and 1.9.0 beta.

    This only happens when there is a blocklevel element such as a <div> or a <li>.
    I need to get the results as <li>.

    I haven´t defined any styles and didn´t include a stylesheet.

    To style my results i need the margins removed.
    How can i do it?

    Here is a screenshot of what i mean:

      • 5811
      • 1,717 Posts
      Try to search "number" on this demo page
      The margins don’t exist when the search term is found in the title and not in the extract. If you got an unwanted margin, use the firefox web developer to check the css class used for the title or for .ajaxSearch_result.

      And check the result template. May be an unwanted character exists in the file.