Solved

SharePoint: I how to create a custom dropdown style for css?

Posted on 2011-09-28
2
219 Views
Last Modified: 2012-08-14
Hello. I know how to create a custom drop-down style (ribbon), but how can I do the same with css styles?
0
Comment
Question by:tolppa
2 Comments
 
LVL 1

Author Comment

by:tolppa
ID: 36812890
Drop-down style = user can select hyperlink style using drop-down menu in ribbon.
0
 
LVL 16

Accepted Solution

by:
SSupreme earned 250 total points
ID: 36818975
The core for drop-down menu  are
:hover and display attribute.
for example:
li ul {display:none;}
li:hover ul (display: block;}
What is does, at start secondary ul is not displayed, but when you hover li as button, rules applies attribute to secondary ul and makes it appear.
Then you can style your li s and a s as you wish by using standard options, like color, font, border, position, etc.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question