Note that there are some explanatory texts on larger screens.

plurals
  1. POhelp with css menu with drop downs
    primarykey
    data
    text
    <p>I am new to css, and have tried to make this work for a while with no luck</p> <p>basically i want to display a drop down when "MENU" is selected but nothing seems to happen here is my css:</p> <pre><code>#tabs { margin-top:-12ex; float:left; width:100%; font-size:100%; line-height:10px; vertical-align:top; margin-left:20px; position:static; } #tabs ul { margin:0; padding:1px 1px 0 20px; list-style:none; } #tabs li { display:inline; margin:0; padding:5; } #tabs a { float:left; background:url("../images/tableft.gif") no-repeat left top; margin:0; padding:0 0 0 3px; text-decoration:none; } #tabs a span { float:left; display:block; background:url("../images/tabright.gif") no-repeat right top; padding:10px 10px 10px 10px; color:#FFF; } /* Commented Backslash Hack hides rule from IE5-Mac \*/ #tabs a span {float:none;} /* End IE5-Mac hack */ #tabs a:hover span { color:#FFF; } #tabs a:hover{ background-position:0% -42px; } #tabs a:hover span { background-position:100% -42px; } div#tabs ul ul, div#tabs ul li:hover ul ul, div#tabs ul ul li:hover ul ul {display: none;} div#tabs ul li:hover ul, div#tabs ul ul li:hover ul, div#tabs ul ul ul li:hover ul {display: block;} </code></pre> <p>Here is my html</p> <pre><code>&lt;body&gt; &lt;div id="wrapper"&gt; &lt;table height="860px"&gt; &lt;tr&gt; &lt;td colspan="2" width="710px" height="150px"&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td colspan="2" width="710px" height="50px" valign="bottom"&gt; &lt;div id="tabs"&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="#"&gt;&lt;span&gt;HOME&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;&lt;span&gt;CATERING&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;&lt;span&gt;MENU&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;ul&gt; &lt;li&gt; &lt;a href="#"&gt;&lt;span&gt;hey&lt;/span&gt;&lt;/a&gt; //i want this to pop when hovering menu &lt;li&gt; &lt;/ul&gt; &lt;li&gt;&lt;a href="#"&gt;&lt;span&gt;RESERVATIONS&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;&lt;span&gt;EVENTS&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;&lt;span&gt;ABOUT US&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;&lt;span&gt;CONTACT US&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/body&gt; </code></pre>
    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.
    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