• main menu on w3.org

    From Dale@dalekellytoo@gmail.com to alt.html,comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets on Tue Oct 27 21:30:26 2026
    From Newsgroup: alt.html


    How can I do the main menu on ...

    https://www.w3.org/

    ?

    I have seen this on a lot of sites.

    I think it would be better than how I do a main menu for different sizes
    of browser's windows.

    https://www.dalekelly.org/

    Looked at the code on the Chrome Browser but can't figure it out.

    Prefer no scripts.
    --
    Lore? -> https://www.dalekelly.org/

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From David E. Ross@nobody@nowhere.invalid to alt.html,comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets on Tue Oct 27 21:35:13 2026
    From Newsgroup: alt.html

    On 10/27/2026 6:30 PM, Dale wrote:

    How can I do the main menu on ...

    https://www.w3.org/

    ?

    I have seen this on a lot of sites.

    I think it would be better than how I do a main menu for different sizes
    of browser's windows.

    https://www.dalekelly.org/

    Looked at the code on the Chrome Browser but can't figure it out.

    Prefer no scripts.


    What do you mean "do the main menu"?
    --

    David E. Ross
    <http://www.rossde.com>

    NO, not everyone has a smart phone. My wife and I have
    "dumb cell phones" and a land-line. Neither of us can
    handle QR codes, reply to text messages, or have any
    kind of phone-based Internet connections. We have no APS
    on any phone. We can send and receive photos only
    through our desktop PCs.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Dale@dalekellytoo@gmail.com to alt.html,comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets on Wed Oct 28 02:51:59 2026
    From Newsgroup: alt.html

    On 10/28/2026 12:35 AM, David E. Ross wrote:
    On 10/27/2026 6:30 PM, Dale wrote:

    How can I do the main menu on ...

    https://www.w3.org/

    ?

    I have seen this on a lot of sites.

    I think it would be better than how I do a main menu for different sizes
    of browser's windows.

    https://www.dalekelly.org/

    Looked at the code on the Chrome Browser but can't figure it out.

    Prefer no scripts.




    What do you mean "do the main menu"?


    on w3.org there is a menu icon on the upper right corner that I would
    like to design for all of my pages


    https://www.w3.org/
    --
    Lore? -> https://www.dalekelly.org/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Arno Welzel@usenet@arnowelzel.de to alt.html,comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets on Wed Oct 28 11:52:31 2026
    From Newsgroup: alt.html

    Dale, 2026-10-28 07:51:

    [...]> on w3.org there is a menu icon on the upper right corner that I
    would
    like to design for all of my pages


    https://www.w3.org/


    The way how the menu is displayed, depends on the width of the viewport.
    So on mobile devices you will have a menu in the top right corner while
    desktop systems will have a list of drop down menus on top next to each
    other.

    This is also called "responsive design" - using CSS media queries you
    can define which rules apply depending on the properties of the current
    browser view.

    See more about this here:

    <https://www.w3schools.com/css/css_rwd_mediaqueries.asp>

    In addition browsers nowadays support a "popover" API which allows to
    build popover menus without JavaScript. The idea is, that you tell the
    browser which element is used to open and close the menu and which
    element contains the menu itself. The browser will then completely
    handle the menu on its own without any need for JavaScript.

    See more about this here:

    <https://developer.mozilla.org/en-US/docs/Web/API/Popover_API>

    And you can also use CSS to display or hide elements if the visible
    parent element touched by the mouse. This is how the drop down menus are implemented on my website <https://arnowelzel.de> - so these also work
    when JavaScript is disabled, since it is only CSS.
    --
    Arno Welzel
    https://arnowelzel.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Dale@dalekellytoo@gmail.com to alt.html,comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets on Wed Oct 28 08:43:33 2026
    From Newsgroup: alt.html

    On 10/27/2026 9:30 PM, Dale wrote:

    How can I do the main menu on ...

    https://www.w3.org/

    ?

    I have seen this on a lot of sites.

    I think it would be better than how I do a main menu for different sizes
    of browser's windows.

    https://www.dalekelly.org/

    Looked at the code on the Chrome Browser but can't figure it out.

    Prefer no scripts.


    Here is my progress so far:

    https://www.dalekelly.org/mystyle3.css

    https://www.dalekelly.org/index - Copyagain.html

    the menu options but the text doesn't show

    want the menu to always be there when I browse the links of the menu
    --
    Lore? -> https://www.dalekelly.org/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Dale@dalekellytoo@gmail.com to alt.html,comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets on Wed Oct 28 08:48:13 2026
    From Newsgroup: alt.html

    On 10/28/2026 8:43 AM, Dale wrote:
    On 10/27/2026 9:30 PM, Dale wrote:

    How can I do the main menu on ...

    https://www.w3.org/

    ?

    I have seen this on a lot of sites.

    I think it would be better than how I do a main menu for different
    sizes of browser's windows.

    https://www.dalekelly.org/

    Looked at the code on the Chrome Browser but can't figure it out.

    Prefer no scripts.


    Here is my progress so far:

    https://www.dalekelly.org/mystyle3.css

    https://www.dalekelly.org/index - Copyagain.html

    the menu options but the text doesn't show

    want the menu to always be there when I browse the links of the menu





    fixed the name:

    https://www.dalekelly.org/indexCopyagain.html
    --
    Lore? -> https://www.dalekelly.org/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Dale@dalekellytoo@gmail.com to alt.html,comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets on Wed Oct 28 10:59:02 2026
    From Newsgroup: alt.html

    On 10/28/2026 8:48 AM, Dale wrote:
    On 10/28/2026 8:43 AM, Dale wrote:
    On 10/27/2026 9:30 PM, Dale wrote:

    How can I do the main menu on ...

    https://www.w3.org/

    ?

    I have seen this on a lot of sites.

    I think it would be better than how I do a main menu for different
    sizes of browser's windows.

    https://www.dalekelly.org/

    Looked at the code on the Chrome Browser but can't figure it out.

    Prefer no scripts.


    Here is my progress so far:

    https://www.dalekelly.org/mystyle3.css

    https://www.dalekelly.org/index - Copyagain.html

    the menu options but the text doesn't show

    want the menu to always be there when I browse the links of the menu





    fixed the name:

    https://www.dalekelly.org/indexCopyagain.html




    https://www.dalekelly.org/indexCopyagain.html

    I got the menu showing up

    just have to put the new menu on all of my around 50 pages unless there
    is an easier design, something like having the menu only on the home
    page or CSS file

    to do that I would put the new CSS into the CSS file instead of HTML
    <style> location, tried but didn't work

    https://www.dalekelly.org/mystyle3.css
    --
    Lore? -> https://www.dalekelly.org/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Arno Welzel@usenet@arnowelzel.de to alt.html,comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets on Wed Oct 28 16:22:28 2026
    From Newsgroup: alt.html

    Dale, 2026-10-28 15:59:

    https://www.dalekelly.org/indexCopyagain.html

    I got the menu showing up

    just have to put the new menu on all of my around 50 pages unless there
    is an easier design, something like having the menu only on the home
    page or CSS file

    to do that I would put the new CSS into the CSS file instead of HTML
    <style> location, tried but didn't work

    https://www.dalekelly.org/mystyle3.css

    You should think about using either service side includes to include the
    menu on every page where you need it:

    <!--#include file="menu.html" -->

    Also see:

    <https://en.wikipedia.org/wiki/Server_Side_Includes> <https://httpd.apache.org/docs/current/howto/ssi.html>

    Or use PHP and the following snippet:

    <?php readfile('menu.html'); ?>

    Depending on where the file is relative to the page, you may also have
    to specifiy the full or relative path of the file.

    For PHP all pages also need to be served with PHP which means you server
    needs to support PHP and the files need to have the extension ".php"
    which may also need to update existing links and maybe add a redirection
    rule in .htaccess to change incoming requests from ".html" to ".php"
    where needed.
    --
    Arno Welzel
    https://arnowelzel.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Dale@dalekellytoo@gmail.com to alt.html,comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets on Wed Oct 28 14:17:25 2026
    From Newsgroup: alt.html

    On 10/28/2026 11:22 AM, Arno Welzel wrote:
    Dale, 2026-10-28 15:59:

    https://www.dalekelly.org/indexCopyagain.html

    I got the menu showing up

    just have to put the new menu on all of my around 50 pages unless there
    is an easier design, something like having the menu only on the home
    page or CSS file

    to do that I would put the new CSS into the CSS file instead of HTML
    <style> location, tried but didn't work

    https://www.dalekelly.org/mystyle3.css

    You should think about using either service side includes to include the
    menu on every page where you need it:

    <!--#include file="menu.html" -->

    Also see:

    <https://en.wikipedia.org/wiki/Server_Side_Includes> <https://httpd.apache.org/docs/current/howto/ssi.html>

    Or use PHP and the following snippet:

    <?php readfile('menu.html'); ?>

    Depending on where the file is relative to the page, you may also have
    to specifiy the full or relative path of the file.

    For PHP all pages also need to be served with PHP which means you server needs to support PHP and the files need to have the extension ".php"
    which may also need to update existing links and maybe add a redirection
    rule in .htaccess to change incoming requests from ".html" to ".php"
    where needed.



    thank you !

    here is how far I got without something like an "include"

    9 main menu items, 15 others on "thoughts"

    https://www.dalekelly.org/

    https://www.dalekelly.org/mystyle5.css

    menu seems to be further to the left than the pages, I like the page to
    be centered on HOME page, pages are much worse on smart phone

    I think this is a CSS or <style> thing I have to look into
    --
    Lore? -> https://www.dalekelly.org/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Dale@dalekellytoo@gmail.com to alt.html,comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets on Wed Oct 28 20:22:36 2026
    From Newsgroup: alt.html

    On 10/27/2026 9:30 PM, Dale wrote:

    How can I do the main menu on ...

    https://www.w3.org/

    ?

    I have seen this on a lot of sites.

    I think it would be better than how I do a main menu for different sizes
    of browser's windows.

    https://www.dalekelly.org/

    Looked at the code on the Chrome Browser but can't figure it out.

    Prefer no scripts.



    Got the menu on all pages.

    https://www.dalekelly.org/

    https://www.dalekelly.org/mystyle5.css

    How can I increase the text size in this menu?

    What about size/location design of things on each page?
    --
    Lore? -> https://www.dalekelly.org/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Dale@dalekellytoo@gmail.com to alt.html,comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets on Wed Oct 28 21:49:42 2026
    From Newsgroup: alt.html

    On 10/28/2026 8:22 PM, Dale wrote:
    On 10/27/2026 9:30 PM, Dale wrote:

    How can I do the main menu on ...

    https://www.w3.org/

    ?

    I have seen this on a lot of sites.

    I think it would be better than how I do a main menu for different
    sizes of browser's windows.

    https://www.dalekelly.org/

    Looked at the code on the Chrome Browser but can't figure it out.

    Prefer no scripts.



    Got the menu on all pages.

    https://www.dalekelly.org/

    https://www.dalekelly.org/mystyle5.css

    How can I increase the text size in this menu?

    What about size/location design of things on each page?



    for text size on menu

    font-size: 1.2em;

    in .dropdown-menu of mystyle5.css worked
    --
    Lore? -> https://www.dalekelly.org/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Dale@dalekellytoo@gmail.com to alt.html,comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets on Sat Oct 31 04:59:09 2026
    From Newsgroup: alt.html

    On 10/27/2026 9:30 PM, Dale wrote:

    How can I do the main menu on ...

    https://www.w3.org/

    ?

    I have seen this on a lot of sites.

    I think it would be better than how I do a main menu for different sizes
    of browser's windows.

    https://www.dalekelly.org/

    Looked at the code on the Chrome Browser but can't figure it out.

    Prefer no scripts.


    Here is where I got while doing new menu:

    https://www.dalekelly.org/
    --
    Lore? -> https://www.dalekelly.org/
    --- Synchronet 3.22a-Linux NewsLink 1.2