css - Different sized menubuttons on a single page -


On my page I have 3 menubutions. I want different widths for each of them, for that I have the following Did:

  & lt; Style & gt; .ui-menus {width: 180px; } & Lt; / Style & gt;   

However, it sets the width of all menubutions up to 180px. I would like 180px, 140px and 160px width respectively. How can I get it?

You must have some unique identifier for each (such as id ) And use them for style Alternatively, you can use the CSS3 : nth-child () selector, but this is probably overkill for your needs.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -