2012-06-18 36 views

回答

1

在他們的示例頁面,這是他們所使用的CSS選擇器更改:

.chzn-container .chzn-results li em { 
    font-weight: bold; 
} 

匹配的文本被包裹在一個<em />,所以你可能需要設置'字體風格:正常;」以及。

+0

感謝,很高興我能:) – Suhas

+0

無後顧之憂

.chosen-container .chosen-results li em { font-style: normal; font-weight: bold; } 
lnrbob

0

是就在你的PHP網頁搜索結果與傳遞的字符串,然後用大膽tag.Like

$result='Tom Cruise';//retreived frmo database 
$passed_string='Tom';//passed string from which db is searched 
then 
$result=str_replace($passed_string,'<b>'.$passed_string.'</b>',$result); 
0

或者這下面的CSS屬性的名稱已更改

幫助