You are here: Re: <div class="section" id="menu"> or <div class="subsection" id="menu"> « HTML « IT news, forums, messages
Re: <div class="section" id="menu"> or <div class="subsection" id="menu">

Posted by Jonathan N. Little on 05/22/06 19:54

Luigi Donatello Asero wrote:
> 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

Whoah! First read the error message! 'section' vs 'subsection' has
nothing to do with the error:

Line 1, character 1:
<div class"subsection" id="menu">
^
There is you error, no '=' should be

<div class="subsection" id="menu">

> 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?
>
>


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация