#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    3
    Rep Power
    0

    Cascading style sheets


    I am working on an intelligent system to search and return records from a repository.
    I want to highlight the query words in the results (all are HTML files) like google does. Google uses CSS to do it.
    I wrote an algorithm to go through each word and check whether it is the same as the query text. But...

    How do I insert a CSS using VB into my HTML result?

    Thanks
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Location
    Windsor ON, Canada
    Posts
    462
    Rep Power
    18
    how are you creating the html result?
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    3
    Rep Power
    0
    the HTML files exist on the server/PC that I am working on and are just extracted in order.
    Extracting them using VB code which just downloads and displays the HTML files.
    I was only working on parts of the program taht extract these files.

    but now i want to search for the query text and highlight them (preferably using CSS).

    I don't know whether that answered your question.
    Thanks

IMN logo majestic logo threadwatch logo seochat tools logo