Article View: comp.infosystems.www.authoring.html
Article #12Re: main menu on w3.org
From: Dale
Date: Wed, 28 Oct 2026 18:17
Date: Wed, 28 Oct 2026 18:17
64 lines
3476 bytes
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/
Technical Details
Message-ID:
<pYOcnbLOevDYoX_3nZ2dnZfqn_adnZ2d@supernews.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!69.80.99.14.MISMATCH!border-1.nntp.ord.giganews.com!nntp.giganews.com!local-3.nntp.ord.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mailReferences:
<OTKdnemmV9HczXz3nZ2dnZfqn_adnZ2d@supernews.com> <wGadnSzvn6CYc3z3nZ2dnZfqnPUAAAAA@supernews.com> <wGadnS7vn6CAcnz3nZ2dnZfqnPWdnZ2d@supernews.com> <yN-dnS0ar9ElkH_3nZ2dnZfqn_cAAAAA@supernews.com> <11bt3vl$2hib6$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!69.80.99.14.MISMATCH!border-1.nntp.ord.giganews.com!nntp.giganews.com!local-3.nntp.ord.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 28 Oct 2026 18:17:41 +0000 Date: Wed, 28 Oct 2026 14:17:25 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: main menu on w3.org Newsgroups: alt.html,comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets References: <OTKdnemmV9HczXz3nZ2dnZfqn_adnZ2d@supernews.com> <wGadnSzvn6CYc3z3nZ2dnZfqnPUAAAAA@supernews.com> <wGadnS7vn6CAcnz3nZ2dnZfqnPWdnZ2d@supernews.com> <yN-dnS0ar9ElkH_3nZ2dnZfqn_cAAAAA@supernews.com> <11bt3vl$2hib6$1@dont-email.me> Content-Language: en-US From: Dale <dalekellytoo@gmail.com> Organization: www.dalekelly.org In-Reply-To: <11bt3vl$2hib6$1@dont-email.me> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <pYOcnbLOevDYoX_3nZ2dnZfqn_adnZ2d@supernews.com> Lines: 64 X-Trace: sv3-X3obcL6vYDOBS7ERKeTQqukHGewTE0mHdGxoat8uzL98ieWB39IFuV3b4V9qaG0eFeQNf1ajdf+cKi0!cWrivx82bR/5Im3rTRhESslWAGY89f6Cp0oJVwSFft4yx9PeJyH+dkZY5MmYMj1wyhskEt7BFV3k!/1WWbNdbD6M= X-Complaints-To: www.supernews.com/docs/abuse.html X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40