Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use of Div tags
Message
De
10/06/2013 19:10:31
 
 
Information générale
Forum:
HTML5
Catégorie:
Autre
Titre:
Divers
Thread ID:
01575705
Message ID:
01575967
Vues:
58
>I am learning HTML5 and looking at a sample site. I see that the entire Body section (not tag) is enclosed in a couple of Div tags. Then within the Div tags there are Sections (HTML5 tag Section). Perhaps mistakenly I thought that when designing in HTML5 the Div tag is only used for small sections within Section tags. So does this make sense that this designer use Div tags and then Section tags within the Div?


One of the main reasons to use a div as a container for the whole page is to set its postion:relative; which allows for children div to be position:absolute; relative to its parent div rather than the browser window itself.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform