Note that there are some explanatory texts on larger screens.

plurals
  1. POdropdown under a nav button css/html
    primarykey
    data
    text
    <p>I have a navcontainer with buttons in the container. I need to make a dropdown list for only one of the buttons. How would this be accomplished with CSS/HTML. Here is my code:</p> <p>HTML:</p> <pre><code>&lt;div id="navcontainer"&gt; &lt;a href="/home.html" class="button" style="width: 115px"&gt;About Us&lt;/a&gt; &lt;a href="/quote.html" class="button" style="width: 170px"&gt;Request a Quote&lt;/a&gt; &lt;a href="/affiliates.html" class="button" style="width: 115px"&gt;Affiliates&lt;/a&gt; &lt;a href="/pricing.html" class="button" style="width: 170px"&gt;Pricing &amp; Plans&lt;/a&gt; &lt;a href="/addservices.html" class="button" style="width: 190px"&gt;Additional Services&lt;/a&gt; &lt;a href="/service.html" class="button" style="width: 165px"&gt;Service Details&lt;/a&gt; &lt;a href="/watering.html" class="button" style="width: 108px"&gt;Watering&lt;/a&gt; &lt;/div&gt; </code></pre> <p>CSS:</p> <pre><code>#navcontainer { float: right; width: 1040px; height: 45px; text-align: center; line-height: 45px; color: #fff; margin-bottom: 6px; </code></pre> <p>}</p> <pre><code>.button { text-align: center; background: #226426; color: #fff; width: 100px; height: 45px; float: left; text-decoration: none; font-family: Arial, sans-serif; font-size: 15px; font-weight: bold; border-right: solid 1px #91b293; border-top: solid 1px #91b293; border-bottom: solid 1px #91b293; </code></pre> <p>}</p> <p>Do I need to make this into a ul or can I keep it as is, and just add a dropdown to the Services button? Thanks for your help.</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