Note that there are some explanatory texts on larger screens.

plurals
  1. POadjusting the menu to cover the menu width
    primarykey
    data
    text
    <p>I have a horizantal menu using a thrid party control. The width of the menu is 100% and I have to arrange the menu items so that they cover the entire width of the page and are adjusted automatically, but somehow last menu item is scrolled to another line if the screen is small and if the screen is big then they are adjusted on the same line. Below is my code. How can I make the menuitems so that they adjust accordingly with the width of the screen.</p> <pre><code> &lt;div style="background-color:#8e2826; margin-left:15%; margin-right:17%; color:#8e2826"&gt; &lt;uc1:NavigationBar ID="NavigationBar" runat="server" /&gt; &lt;/div&gt; </code></pre> <p>and the code for navigation bar is</p> <pre><code>&lt;MainMenu ID="RadMenu1" runat="server" EnableRoundedCorners="false" EnableShadows="false" Height="25px" Width="100%" BackColor="#8e2826" BorderColor="#8e2826" BorderWidth="0" width="100%" &gt; &lt;MenuItem Text="Query" BackColor="#8e2826" ForeColor="#cea70b" Font-Names="Calibri" width="12.5%" &gt; &lt;MenuItem&gt; &lt;MenuItem Text="Metrics" BackColor="#8e2826" ForeColor="#cea70b" Font-Names="Calibri" width="12.5%" &gt; &lt;MenuItem&gt; &lt;MenuItem Text="Reports" BackColor="#8e2826" ForeColor="#cea70b" Font-Names="Calibri" width="12.5%" &gt; &lt;MenuItem&gt; &lt;MenuItem Text="Exports" BackColor="#8e2826" ForeColor="#cea70b" Font-Names="Calibri" width="12.5%" &gt; &lt;MenuItem&gt; &lt;MenuItem Text="Imports" BackColor="#8e2826" ForeColor="#cea70b" Font-Names="Calibri" width="12.5%" &gt; &lt;MenuItem&gt; &lt;MenuItem Text="Web Service" BackColor="#8e2826" ForeColor="#cea70b" Font-Names="Calibri" width="12.5%" &gt; &lt;MenuItem&gt; &lt;MenuItem Text="Versions &amp;Fixes" BackColor="#8e2826" ForeColor="#cea70b" Font-Names="Calibri" width="12.5%" &gt; &lt;MenuItem&gt; &lt;/Items&gt; &lt;/MainMenu&gt; below is the style sheet &lt;style type="text/css"&gt; .style1 { display:inline-block; zoom:1; *display:inline; } &lt;/style&gt; </code></pre> <p>any help will be really appreciated.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload