🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.infosystems.www.authoring.stylesheets
13 messages
13 total messages Started by Dale Wed, 28 Oct 2026 01:30
main menu on w3.org
#2
Author: Dale
Date: Wed, 28 Oct 2026 01:30
21 lines
1766 bytes
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/
Re: main menu on w3.org
#4
Author: David E. Ross
Date: Wed, 28 Oct 2026 04:35
33 lines
2136 bytes
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.
Re: main menu on w3.org
#5
Author: Dale
Date: Wed, 28 Oct 2026 06:51
37 lines
2145 bytes
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/
Re: main menu on w3.org
#6
Author: Arno Welzel
Date: Wed, 28 Oct 2026 10:52
41 lines
2747 bytes
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
Re: main menu on w3.org
#7
Author: Dale
Date: Wed, 28 Oct 2026 12:43
34 lines
2214 bytes
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/
Re: main menu on w3.org
#8
Author: Dale
Date: Wed, 28 Oct 2026 12:48
42 lines
2410 bytes
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/
Re: main menu on w3.org
#9
Author: Dale
Date: Wed, 28 Oct 2026 14:59
58 lines
2938 bytes
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/
Re: main menu on w3.org
#11
Author: Arno Welzel
Date: Wed, 28 Oct 2026 15:22
42 lines
2686 bytes
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
Re: main menu on w3.org
#12
Author: Dale
Date: Wed, 28 Oct 2026 18:17
64 lines
3476 bytes
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/
Re: main menu on w3.org
#10
Author: Dale
Date: Thu, 29 Oct 2026 00:22
34 lines
2152 bytes
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/
Re: main menu on w3.org
#34
Author: Dale
Date: Thu, 29 Oct 2026 00:43
78 lines
3866 bytes
On 10/28/2026 2:17 PM, Dale wrote:
> 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
> 
> 
> 
> 
> 
> 
> 


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/
Re: main menu on w3.org
#13
Author: Dale
Date: Thu, 29 Oct 2026 01:49
42 lines
2366 bytes
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/
Re: main menu on w3.org
#14
Author: Dale
Date: Sat, 31 Oct 2026 08:59
26 lines
1954 bytes
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/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads