function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Help in designing and writing CSS

Hi friends,


I need help with writing CSS for drop downs as i am a total noob at CSS.


I need my select lists in VF pages to look exactly like the one we get in the salesforce select list at the top. (Your name)


Thanks in advance.

Deepak Kumar ShyoranDeepak Kumar Shyoran



If you want to create a pick list or a drop down list on your VF page then you can use <apex:selectList >tag to create a picklist on VF page.Please let me know if you have any query.



Don't forget to give Kudos if this post helped you. 

Mark my answer as a solution to your question if it solve your problem.



Choudhary Deepak Shyoran

Salesforce Developer

Bhawani SharmaBhawani Sharma
You can inspect element in CHROME or in Firebug.



Thanks for your replies, but i was actually wondering if i could get any code snippet (CSS) which i coud implement.