Way to get different size for each navbar item?
Hi,
I'm trying to get my nav-bar to have one item that is only the icon (for space issues). Here is the code I'm using:
- <div data-role="navbar" data-iconpos="left">
- <ul>
- <li>
- <a href="/cgi-bin/links/page.cgi?t=mobile_en" data-theme="" data-icon="home">
- Home
- </a>
- </li>
- <li>
- <a href="/cgi-bin/links/search.cgi" data-theme="" data-icon="search">
- Search
- </a>
- </li>
-
- <li>
- <a href="javascript: void(0);" data-theme="" data-icon="check" id="doLogout">
- Logout
- </a>
- </li>
- <li>
- <a href="javascript: void(0);" data-theme="" data-icon="star" id="doBookmarks" data-iconpos="notext"> </a>
- </li>
- </ul>
- </div>
- </div>
That works, but cos there is 4 items it shows ... alongside each item. I really want the last one to just be as narrow one (to stop the space issue). Is there a way to custom the width? I've tried a basic CSS rule but that just screws things up:
- #doBookmarks { width: 100px; }
TIA
Andy