On 11/1/2026 1:55 PM, Dale wrote:
>
> Got a new menu on my website.
>
> I like the new menu more lately for smart phones.
>
> https://www.dalekelly.org/
>
> https://www.dalekelly.org/mystyle5.css
>
> Any designs available for sub-menus?
>
> Will be researching this.
>
> The new menu is in one of those square icons with 3 lines.
>
> w3.org has the type of menu now.
>
>
Almost there with a recommendation from the r/HTML group on Reddit!
I would like the sub-menu to indent to the right of the main menu.
https://www.dalekelly.org/indexsubmenu.html
https://www.dalekelly.org/mystyle7.css
Here is the code from Reddit (find details of mine in links above):
You can simply replace, for example,
<a href="https://www.dalekelly.org/images.html">Images</a>
with
<details>
<summary>Images</summary>
<a href="https://www.dalekelly.org/images.html">Images 1</a>
<a href="https://www.dalekelly.org/images2.html">Images 2</a>
</details>
and add this
.dropdown-menu details summary {
padding: 10px 15px;
/* display:block; */ /* to hide the marker */
}
.dropdown-menu details::details-content {
margin-inline-start:17px;
}
to your css.
--
Lore? -> https://www.dalekelly.org/