Posted by Luigi Donatello Asero on 05/22/06 19:22
Hello,
I tried to include the menu on different pages using
<?php include_once "menu-italiano.html"; ?>
or whatever the menu is called depending on the language.
The menu is inserted on pages which already have a main heading with
a <div class="section" id="...">
Now the problem is that I would like to use a model where the main heading
of the menu is not as much important as the main heading of the whole page
and the menu is regarded as just a part of it. Therefore I thought that I
would use <div class="subsection" id="menu">
However the html file menu-italiano.html does not validate
http://www.htmlhelp.com/cgi-bin/validate.cgi?url=https%3A%2F%2Fwww.scaiecat-spa-gigi.com%2Fit%2Fmenu-italiano.html&warnings=yes
Now I wonder:
whether I should add the document type declaration even if it is a file
which is included and which place in the hierarchy the first <div class> in
the menu should have, the first (section) or the second (subsection)?
The former would suit the inserted html document as such but the latter
would suite the structure of the whole main page where the menu is inserted,
wouldn´t it?
--
Luigi Donatello Asero
https://www.scaiecat-spa-gigi.com/
Write in peace for peace
Navigation:
[Reply to this message]
|