Skip to main content
Dani Szwarc
Inspiring
March 21, 2008
Answered

autosuggest and CSS

  • March 21, 2008
  • 3 replies
  • 587 views
Hello everybody. I'm starting to use autosuggest and I've noticed that the drop down box has no style at all, or, to say it better, it doesn't respect the style the cfinput has. Any idea?

Thanks!!
    This topic has been closed for replies.
    Correct answer Dani Szwarc
    Guys, thanks both for your answers. I've found out by doing a "view source" on the form where the css files were located at. Then a just copied and pasted the classes referring to the suggestion container in my own css file and I was able to do it from there.

    I guess, AlwaysWannaLearn this way it is still the way you enjoy, right?

    Again, thanks a lot.

    3 replies

    Dani Szwarc
    Dani SzwarcAuthorCorrect answer
    Inspiring
    March 21, 2008
    Guys, thanks both for your answers. I've found out by doing a "view source" on the form where the css files were located at. Then a just copied and pasted the classes referring to the suggestion container in my own css file and I was able to do it from there.

    I guess, AlwaysWannaLearn this way it is still the way you enjoy, right?

    Again, thanks a lot.
    Inspiring
    March 21, 2008
    first of a;;, how are you using the auto-suggest feature? My hosting company just recently upgraded to cf8, but i've had an auto-suggest feature for a client running on cf mx. I used JS to make that happen. Works nice, even have the ability to use CSS for style. If i can i'l write a tutorial this weekend and post it on my site (and of course post the link here)

    CF8 might make a lot easier, but what fun would that be? lol...
    Participating Frequently
    March 21, 2008
    As I know you need to define CSS resources by using CFAjaxImport tag for CF8 Ajax features.

    <cfajaximport cssSrc="/cssFiles" tags="cftooltip, cfwindow">

    I will try if I can find some time.